{"id":"GHSA-3v6h-hqm4-2rg6","summary":"Arbitrary File Write in adm-zip","details":"Versions of `adm-zip` before 0.4.9 are vulnerable to arbitrary file write when used to extract a specifically crafted archive that contains path traversal filenames (`../../file.txt` for example).\n\n\n## Recommendation\n\nUpdate to version 0.4.9 or later.","aliases":["CVE-2018-1002204"],"modified":"2023-11-08T03:59:42.410281Z","published":"2018-07-27T17:07:14Z","database_specific":{"github_reviewed_at":"2020-06-16T20:56:28Z","nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1002204"},{"type":"WEB","url":"https://github.com/cthackers/adm-zip/pull/212"},{"type":"WEB","url":"https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25"},{"type":"WEB","url":"https://hackerone.com/reports/362118"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3v6h-hqm4-2rg6"},{"type":"WEB","url":"https://github.com/snyk/zip-slip-vulnerability"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"},{"type":"WEB","url":"https://snyk.io/vuln/npm:adm-zip:20180415"},{"type":"WEB","url":"https://www.npmjs.com/advisories/681"},{"type":"WEB","url":"https://www.npmjs.com/advisories/994"},{"type":"WEB","url":"http://www.securityfocus.com/bid/107001"}],"affected":[{"package":{"name":"adm-zip","ecosystem":"npm","purl":"pkg:npm/adm-zip"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-3v6h-hqm4-2rg6/GHSA-3v6h-hqm4-2rg6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}]}