{"id":"CVE-2018-1002207","published":"2018-07-25T17:00:00Z","modified":"2024-09-16T23:35:55Z","title":"mholt/archiver golang package before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 is vulnerable to directory traversal…","vendor":"golang","product":"archiver","tier":"tail","description":{"text":"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'.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0253,"percentile":0.85291,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_refsource_MISC"]},{"url":"https://github.com/snyk/zip-slip-vulnerability","tags":["x_refsource_MISC"]},{"url":"https://github.com/mholt/archiver/pull/65","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mholt/archiver/commit/e4ef56d48eb029648b0e895bb0b6a393ef0829c3","tags":["x_refsource_CONFIRM"]},{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARCHIVER-50071","tags":["x_refsource_MISC"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":17.06}]},"vendorSlug":"golang","affectedVersions":[{"vendor":"golang","product":"archiver","versions":[">= unspecified, < e4ef56d48eb029648b0e895bb0b6a393ef0829c3"]}],"affected":[{"ecosystem":"Go","package":"github.com/mholt/archiver","vulnerableRanges":["<2.1.0","<2.1.0+incompatible"],"patched":["2.1.0","2.1.0+incompatible"],"from":["GHSA-5wmg-j84w-4jj4","GO-2022-0799"],"provenance":"source"}],"summary":{"text":"The directory traversal flaw lives in the archiver Go package (golang/mholt archiver) in versions before commit e4ef56d48eb029648b0e895bb0b6a393ef0829c3, where archive entries containing \"../\" sequences are mishandled during extraction, a pattern also known as Zip-Slip. An attacker who supplies a crafted archive that a vulnerable application extracts can write to arbitrary files on the system; the source record does not specify the required network access, authentication, user interaction or configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:25Z"},"euvd":{"id":"EUVD-2022-0846","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-golang-archiver-cve-2018-1002207","children":[{"from":"CVE-2018-1002207","to":"CVE-2019-10743","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["archiver.go","rar.go","tar.go","zip.go"],"commits":["https://github.com/mholt/archiver/commit/e4ef56d48eb029648b0e895bb0b6a393ef0829c3","https://github.com/mholt/archiver/commit/8217ed3a206c0473b4ec1aff51375b398838073a"],"basis":"rarely changed file"}]}]}}