{"id":"CVE-2019-10743","published":"2019-10-28T22:09:22Z","modified":"2024-08-04T22:32:01Z","title":"All versions of archiver allow attacker to perform a Zip Slip attack via the \"unarchive\" functions","vendor":null,"product":null,"tier":"tail","description":{"text":"All versions of archiver allow attacker to perform a Zip Slip attack via the \"unarchive\" functions. It is exploited using a specially crafted zip archive, that holds path traversal filenames. When exploited, a filename in a malicious archive is concatenated to the target extraction directory, which results in the final path ending up outside of the target folder. For instance, a zip may hold a file with a \"../../file.exe\" location and thus break out of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06352,"percentile":0.93804,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARC-174728%2C","tags":["x_refsource_MISC"]},{"url":"https://github.com/mholt/archiver/pull/169","tags":["x_refsource_MISC"]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":18.76}]},"affectedVersions":[{"vendor":"n/a","product":"archiver","versions":["All versions"]}],"affected":[{"ecosystem":"Go","package":"github.com/mholt/archiver","vulnerableRanges":[">=3.0.0, <3.3.2"],"patched":["3.3.2"],"from":["GHSA-h74j-692g-48mq"],"provenance":"source"}],"summary":{"text":"A path traversal flaw, commonly known as Zip Slip, affects all versions of the archiver library in its \"unarchive\" functions. Because filenames from the archive are concatenated to the extraction directory without sanitisation, an attacker who supplies a crafted zip containing traversal names such as \"../../file.exe\" can write files outside the target folder, potentially overwriting executables or configuration files and leading to arbitrary code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:02:54Z"},"euvd":{"id":"EUVD-2021-1098","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-golang-archiver-cve-2018-1002207","parents":[{"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"}]}]}}