CVE-2018-1002207
MEDIUM5.5EPSS 2.6%Arbitrary File Write via Archive Extraction in mholt/archiver
Published: 2/15/2022Modified: 3/16/2026
Description
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'.
Affected packages (2)
- Go/github.com/mholt/archiverfrom 0, < 2.1.0
- Go/github.com/mholt/archiverfrom 0, < 2.1.0+incompatible
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
References (8)
- ADVISORYhttps://github.com/advisories/GHSA-5wmg-j84w-4jj4
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-1002207
- PATCHhttps://github.com/mholt/archiver
- WEBhttps://github.com/mholt/archiver/commit/e4ef56d48eb029648b0e895bb0b6a393ef0829c3
- WEBhttps://github.com/mholt/archiver/pull/65
- WEBhttps://github.com/snyk/zip-slip-vulnerability
- WEBhttps://snyk.io/research/zip-slip-vulnerability
- WEBhttps://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARCHIVER-50071