CVE-2018-1002204

Public Exploit

Description

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'.

Category

5.5
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 24.13% Top 5%
Third-Party Advisory securityfocus.com Third-Party Advisory github.com Third-Party Advisory github.com Third-Party Advisory github.com Third-Party Advisory snyk.io Third-Party Advisory snyk.io
Affected: node.js adm-zip
Published at:
Updated at:

References

Link Tags
https://snyk.io/research/zip-slip-vulnerability third party advisory exploit
https://github.com/cthackers/adm-zip/pull/212 issue tracking patch exploit third party advisory
http://www.securityfocus.com/bid/107001 vdb entry third party advisory
https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25 issue tracking third party advisory patch
https://github.com/snyk/zip-slip-vulnerability third party advisory exploit
https://snyk.io/vuln/npm:adm-zip:20180415 third party advisory exploit

Frequently Asked Questions

What is the severity of CVE-2018-1002204?
CVE-2018-1002204 has been scored as a medium severity vulnerability.
How to fix CVE-2018-1002204?
To fix CVE-2018-1002204, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-1002204 being actively exploited in the wild?
It is possible that CVE-2018-1002204 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~24% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2018-1002204?
CVE-2018-1002204 affects node.js adm-zip.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.