CVE-2018-1002203
unzipper npm library before 0.8.13 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 ex...
Public exploit available. Not confirmed exploited in the wild yet. Fixed in 0.8.13.
What to do
Find your product and version, then upgrade to the build on the right.
- Node.js UnzipperAffected: ≥ unspecified, < 0.8.13Upgrade to: 0.8.13Stated by: CVE record
- Npm UnzipperAffected: < 0.8.13Upgrade to: 0.8.13Stated by: GitHub advisory
- Unzipper Project UnzipperAffected: < 0.8.13Upgrade to: 0.8.13Stated by: NVD
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check your project’s dependency list or lockfile for unzipper versions before 0.8.13.
- Update unzipper to version 0.8.13 or later.
- Until updated, do not extract Zip files from untrusted sources with the affected application.
- Review recently extracted untrusted archives and investigate unexpected file changes outside extraction folders.
npm install unzipper@^0.8.13What it is
From the CVE record
Arbitrary File Write via Archive Extraction in unzipper
In plain language
Written by AI from the recordunzipper versions before 0.8.13 can let a harmful Zip file write files outside its intended folder, so businesses using it should update.
CWE-22 directory traversal in unzipper archive-entry path handling permits arbitrary local file writes when a user extracts a crafted Zip archive.
If you're affected
- Unauthorized file changes
- Application configuration overwrite
- Service disruption
- Potential malware placement
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
11% chance of exploitation activity in the next 30 days, which ranks it in the 96th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 471 days before any public exploit.
- EPSS band change0 → moderateepss band change
- EPSS band changemoderate → 0epss band change
- EPSS band change0 → moderateepss band change
- EPSS band changemoderate → 0epss band change
- EPSS band change0 → moderateepss band change
- EPSS band changemoderate → low
Affected products
Technical detail
CVSS 3.0 vector
Open in the CVSS calculatorCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Scored 5.5 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction RequiredA user must click a link, open a file, or perform some action
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- nvd.nist.gov/vuln/detail/CVE-2018-1002203
- github.com/ZJONSSON/node-unzipper/pull/59
- github.com/ZJONSSON/node-unzipper/commit/2220ddd5b58f6252069a4f99f9475441ad0b50cd
And 6 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Unzipper, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI