Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS02anJqLXZjNjUtYzk4M84AA-8j

unzip-stream allows Arbitrary File Write via artifact extraction

Impact

When using the Extract() method of unzip-stream, malicious zip files were able to write to paths they shouldn't be allowed to.

Patches

Fixed in 0.3.2

References

Credits

Justin Taft from Google

Permalink: https://github.com/advisories/GHSA-6jrj-vc65-c983
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02anJqLXZjNjUtYzk4M84AA-8j
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 3 months ago
Updated: 3 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Identifiers: GHSA-6jrj-vc65-c983
References: Repository: https://github.com/mhr3/unzip-stream
Blast Radius: 26.8

Affected Packages

npm:unzip-stream
Dependent packages: 264
Dependent repositories: 3,798
Downloads: 894,651 last month
Affected Version Ranges: < 0.3.2
Fixed in: 0.3.2
All affected versions: 0.0.0, 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1
All unaffected versions: 0.3.2, 0.3.3, 0.3.4