{"id":"GHSA-6jrj-vc65-c983","summary":"unzip-stream allows Arbitrary File Write via artifact extraction","details":"### Impact\n\nWhen using the `Extract()` method of unzip-stream, malicious zip files were able to write to paths they shouldn't be allowed to.\n\n### Patches\n\nFixed in 0.3.2\n\n### References\n\n- https://snyk.io/research/zip-slip-vulnerability\n- https://github.com/mhr3/unzip-stream/compare/v0.3.1...v0.3.2\n\n### Credits\n\nJustin Taft from Google","modified":"2024-08-26T15:17:40Z","published":"2024-08-26T15:17:40Z","database_specific":{"github_reviewed_at":"2024-08-26T15:17:40Z","nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/mhr3/unzip-stream/security/advisories/GHSA-6jrj-vc65-c983"},{"type":"WEB","url":"https://github.com/mhr3/unzip-stream/commit/ab67989719abb4dcc774d02de266151905b8d45a"},{"type":"PACKAGE","url":"https://github.com/mhr3/unzip-stream"},{"type":"WEB","url":"https://github.com/mhr3/unzip-stream/compare/v0.3.1...v0.3.2"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"}],"affected":[{"package":{"name":"unzip-stream","ecosystem":"npm","purl":"pkg:npm/unzip-stream"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-6jrj-vc65-c983/GHSA-6jrj-vc65-c983.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}