Vulnerability · Published Jan 28, 2022 · Assigned by snyk
CVE-2021-23484Arbitrary File Write via Archive Extraction (Zip Slip)
Critical 9.8
In plain English
A critical-severity security flaw in the zip-local package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)2.1%top 18.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
The package zip-local before 0.3.5 are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) which can lead to an extraction of a crafted file outside the intended extraction directory.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | zip-local | 0.3.5 | GHSA-wxj7-97fp-j53j |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-ZIPLOCAL-2327477 x_refsource_MISC
- https://github.com/Mostafa-Samir/zip-local/blob/master/main.js%23L365 x_refsource_MISC
- https://github.com/Mostafa-Samir/zip-local/commit/949446a95a660c0752b1db0c654f0fd619ae6085 x_refsource_MISC