CVE-2021-23484 json
Arbitrary File Write via Archive Extraction (Zip Slip)
published 2022-01-28 4 y ago modified 2026-09-10 1 mo ago also GHSA-wxj7-97fp-j53j , EUVD-2022-1241
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm zip-local 0.3.5
- zip-local_project zip-local 0.3.5
Exploit prediction
2.05% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-ZIPLOCAL-2327477 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | zip-local | <0.3.5 |
0.3.5 |
Classification
References
-
github.com
/Mostafa-Samir/zip-local/commit/949446a95a660c0752b1db0c654f0fd619ae6085
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-ZIPLOCAL-2327477
web, exploit, patch, third-party-advisory
-
github.com
/Mostafa-Samir/zip-local/commit/6bb9b59733df379ac168aa705790bd8339b4bf9b
web
-
github.com
/Mostafa-Samir/zip-local/blob/master/main.js%23L365
web, broken-link, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23484
advisory
-
github.com
/Mostafa-Samir/zip-local
package
Sources
- CVE List CVE-2021-23484
- GitHub Advisory GHSA-wxj7-97fp-j53j
- NVD CVE-2021-23484
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.