{"id":"GHSA-5wmg-j84w-4jj4","summary":"Arbitrary File Write via Archive Extraction in mholt/archiver","details":"mholt/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'.","aliases":["CVE-2018-1002207","GO-2022-0799","SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARCHIVER-50071"],"modified":"2026-09-10T03:49:11.584918163Z","published":"2022-02-15T01:57:18Z","database_specific":{"cwe_ids":["CWE-22"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-05-20T16:56:29Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1002207"},{"type":"WEB","url":"https://github.com/mholt/archiver/pull/65"},{"type":"WEB","url":"https://github.com/mholt/archiver/commit/e4ef56d48eb029648b0e895bb0b6a393ef0829c3"},{"type":"PACKAGE","url":"https://github.com/mholt/archiver"},{"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/SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARCHIVER-50071"}],"affected":[{"package":{"name":"github.com/mholt/archiver","ecosystem":"Go","purl":"pkg:golang/github.com/mholt/archiver"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-5wmg-j84w-4jj4/GHSA-5wmg-j84w-4jj4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}]}