CVE-2018-1002207
MEDIUM 5.5CVSS 3.0Arbitrary File Write via Archive Extraction in mholt/archiver
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'.
- Published
- 25 Jul 2018
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-5wmg-j84w-4jj4GO-2022-0799SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARCHIVER-50071
- Sources
- NVDJSONOSV GHSA-5wmg-j84w-4jj4JSONOSV GO-2022-0799JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | archiver_project | archivercpe:2.3:a:archiver_project:archiver:*:*:*:*:*:*:*:* |
<= 2.0 | |
| OSV | Go | github.com/mholt/archiver | < 2.1.0 | 2.1.0 |
| OSV | Go | github.com/mholt/archiver | < 2.1.0+incompatible | 2.1.0+incompatible |
References
- https://github.com/mholt/archiver/commit/e4ef56d48eb029648b0e895bb0b6a393ef0829c3 · Issue Tracking, Patch, Third Party Advisory, WEB, FIX
- https://github.com/mholt/archiver/pull/65 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB, FIX
- https://github.com/snyk/zip-slip-vulnerability · Exploit, Third Party Advisory, WEB
- https://snyk.io/research/zip-slip-vulnerability · Exploit, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARCHIVER-50071 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002207 · ADVISORY
- https://github.com/mholt/archiver · PACKAGE
- https://github.com/advisories/GHSA-5wmg-j84w-4jj4 · ADVISORY
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 25 Jul 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Feb 2022)