GHSA-6jrj-vc65-c983

Suggest an improvement
Source
https://github.com/advisories/GHSA-6jrj-vc65-c983
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-6jrj-vc65-c983/GHSA-6jrj-vc65-c983.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6jrj-vc65-c983
Published
2024-08-26T15:17:40Z
Modified
2024-08-26T15:17:40Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
unzip-stream allows Arbitrary File Write via artifact extraction
Details

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

  • https://snyk.io/research/zip-slip-vulnerability
  • https://github.com/mhr3/unzip-stream/compare/v0.3.1...v0.3.2

Credits

Justin Taft from Google

References

Affected packages

npm / unzip-stream

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.2