{"id":"CVE-2018-1002207","aliases":["GHSA-5wmg-j84w-4jj4","GO-2022-0799","SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARCHIVER-50071"],"title":"Arbitrary File Write via Archive Extraction in mholt/archiver","summary":"Arbitrary File Write via Archive Extraction in mholt/archiver","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","vendor":"mholt","product":"github.com/mholt/archiver","ecosystem":"go","affected":["github.com/mholt/archiver < 2.1.0"],"patched":["github.com/mholt/archiver 2.1.0"],"published":"2022-02-15","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:49:11.584918163Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-5wmg-j84w-4jj4","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1002207"},{"url":"https://github.com/mholt/archiver/pull/65"},{"url":"https://github.com/mholt/archiver/commit/e4ef56d48eb029648b0e895bb0b6a393ef0829c3"},{"url":"https://github.com/mholt/archiver"},{"url":"https://github.com/snyk/zip-slip-vulnerability"},{"url":"https://snyk.io/research/zip-slip-vulnerability"},{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARCHIVER-50071"}],"tags":["osv","go"],"epss":0.0253,"epssPercentile":0.84211,"ingestedAt":"2026-09-12T03:13:01.756Z","slug":"CVE-2018-1002207","body":"## Overview\n\nmholt/archiver golang package before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.\n\n## Affected packages\n\n- `github.com/mholt/archiver < 2.1.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/mholt/archiver 2.1.0`","depth":"sunlit","depthScore":31,"depthScoreParts":{"impact":30.3,"likelihood":0.5,"exploitation":0,"ransomware":0},"changes":[]}