CVE-2018-1002204
No exploitation reported by the sources we read.
- Published2018-07-25
- Fixed in0.4.11
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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'.
Timeline
dates in UTC- 2018-07-2517:29CVE publishedNVD
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.4 | < 0.4.11 | 0.4.11 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.4 | < 0.4.9 | 0.4.9 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- adm-zipTuxCare:npmfrom 0.4.4-tuxcare.0 · fixed in 0.4.4-tuxcare.1
- adm-zipTuxCare:npmfrom 0.4.7-tuxcare.0 · fixed in 0.4.7-tuxcare.1
Vendor advisories
nodejs-adm-zip: arbitrary file write vulnerability / arbitrary code execution using a specially crafted zip file
nodejs-adm-zip.src as a component of Red Hat Mobile Application Platform 4 · quay/quay-rhel8 as a component of Red Hat Quay 3
Fix
- Update adm-zip to 0.4.11
- No fix available, says the vendor Red Hat Product Security CVE-2018-1002204 · 1 productFix deferred
- No fix available, says the vendor Red Hat Product Security CVE-2018-1002204 · 1 productAffected
Advisories and patches
- github.comPatch
- github.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.15.5read 2026-10-23
- NVDCVSS 2.04.3read 2026-10-23
- CNAweakness (CWE)CWE-22known since 2026-10-23
- NVDweakness (CWE)CWE-22read 2026-10-23
- FIRST EPSSEPSS score13.0 %read 2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2020-06-16
Identifiers
- EUVD-2018-0219same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-3v6h-hqm4-2rg6same flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Published
- 2018-07-25
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-3v6h-hqm4-2rg6
Frequently asked questions
What is CVE-2018-1002204?
Is CVE-2018-1002204 actively exploited?
What is the CVSS score for CVE-2018-1002204?
Running adm-zip? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-39244same product
- CVE-2026-77301same product
- CVE-2026-114102same productadm-zip before 0.6.1 Denial of Service via inflateAsync Unhandled Error Event
- CVE-2026-114103same productadm-zip 0.6.0 Decompression Bomb Guard Bypass via getDataAsync()
- CVE-2026-92000same product
- CVE-2026-114104same productadm-zip before 0.6.1 Duplicate ZIP Entry Name Validation Bypass
- CVE-2026-102282same productadm-zip extraction preserves SUID/SGID bits from untrusted ZIPs -> local privilege escalation
- CVE-2026-114105same productAdm-zip before 0.6.1 Privilege Escalation via keepOriginalPermission Setuid Bits
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-3v6h-hqm4-2rg6
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0