Skip to content
OpenAdvisories
High · 7.5 GHSA-6jrj-vc65-c983

unzip-stream allows Arbitrary File Write via artifact extraction

Published Aug 26, 2024 · Assigned by GHSA

Description

### 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

Affected packages

EcosystemPackageAffectedFixedRecord
npm unzip-stream < 0.3.2 0.3.2 GHSA-6jrj-vc65-c983

References