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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | unzip-stream | < 0.3.2 | 0.3.2 | GHSA-6jrj-vc65-c983 |
References
- https://github.com/mhr3/unzip-stream/security/advisories/GHSA-6jrj-vc65-c983 web
- https://github.com/mhr3/unzip-stream/commit/ab67989719abb4dcc774d02de266151905b8d45a web
- https://github.com/mhr3/unzip-stream package
- https://github.com/mhr3/unzip-stream/compare/v0.3.1...v0.3.2 web
- https://snyk.io/research/zip-slip-vulnerability web