Vulnerability Details : CVE-2018-1002207
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'.
Vulnerability category: Directory traversal
Products affected by CVE-2018-1002207
- cpe:2.3:a:archiver_project:archiver:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-1002207
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 49 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-1002207
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2018-1002207
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by:
- nvd@nist.gov (Primary)
- report@snyk.io (Secondary)
References for CVE-2018-1002207
-
https://github.com/snyk/zip-slip-vulnerability
GitHub - snyk/zip-slip-vulnerability: Zip Slip Vulnerability (Arbitrary file write through archive extraction)Exploit;Third Party Advisory
-
https://snyk.io/research/zip-slip-vulnerability
Zip Slip Vulnerability | SnykExploit;Third Party Advisory
-
https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARCHIVER-50071
Arbitrary File Write via Archive Extraction (Zip Slip) in github.com/mholt/archiver/cmd/archiver | SnykExploit;Third Party Advisory
-
https://github.com/mholt/archiver/pull/65
fix: prevent extraction of archived files outside target path by aviadatsnyk · Pull Request #65 · mholt/archiver · GitHubExploit;Issue Tracking;Patch;Third Party Advisory
-
https://github.com/mholt/archiver/commit/e4ef56d48eb029648b0e895bb0b6a393ef0829c3
fix: prevent extraction of archived files outside target path (#65) · mholt/archiver@e4ef56d · GitHubIssue Tracking;Patch;Third Party Advisory
Jump to