{"id":"GHSA-6jrj-vc65-c983","aliases":["GHSA-6jrj-vc65-c983"],"related":[],"kind":"vulnerability","state":"published","title":"unzip-stream allows Arbitrary File Write via artifact extraction","summary":"### 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","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### 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","format":"markdown","source":"ghsa"}],"published":"2024-08-26T15:17:40.000Z","modified":"2024-08-26T15:17:40.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.2"}],"ecosystem":"npm","package":"unzip-stream","purl":"pkg:npm/unzip-stream","source":"ghsa"}],"references":[{"url":"https://github.com/mhr3/unzip-stream/security/advisories/GHSA-6jrj-vc65-c983","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mhr3/unzip-stream/commit/ab67989719abb4dcc774d02de266151905b8d45a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mhr3/unzip-stream","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/mhr3/unzip-stream/compare/v0.3.1...v0.3.2","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6jrj-vc65-c983","url":"https://github.com/advisories/GHSA-6jrj-vc65-c983","licence":"CC-BY-4.0","modified":"2024-08-26T15:17:40.000Z"}],"updatedAt":"2026-11-25T22:56:44.388Z"}