Vulnerability Details : CVE-2018-1002204
adm-zip npm library before 0.4.9 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.
Vulnerability category: Directory traversal
Products affected by CVE-2018-1002204
- cpe:2.3:a:adm-zip_project:adm-zip:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-1002204
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 48 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-1002204
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.1/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-1002204
-
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-1002204
-
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://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25
Merge pull request #212 from aviadatsnyk/master · cthackers/adm-zip@62f6400 · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://snyk.io/research/zip-slip-vulnerability
Zip Slip Vulnerability | SnykExploit;Third Party Advisory
-
http://www.securityfocus.com/bid/107001
SAP HANA CVE-2018-1002204 Directory Traversal VulnerabilityThird Party Advisory;VDB Entry
-
https://snyk.io/vuln/npm:adm-zip:20180415
Arbitrary File Write via Archive Extraction (Zip Slip) in adm-zip | SnykExploit;Third Party Advisory
-
https://github.com/cthackers/adm-zip/pull/212
fix: prevent extracting archived files outside of target path by aviadatsnyk · Pull Request #212 · cthackers/adm-zip · GitHubExploit;Issue Tracking;Patch;Third Party Advisory
Jump to