What’s Vulnerable › Vulnerabilities
CVE-2021-23484: Arbitrary File Write via Archive Extraction (Zip Slip)
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-01-28 · updated 2026-06-17
- Weakness: CWE-22
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 products
- Zip-Local Project Zip-Local: before 0.3.5 — fixed in 0.3.5
How to fix
Upgrade to a fixed version: Zip-Local Project Zip-Local 0.3.5. Check the vendor advisory for mitigations.
References
- https://github.com/Mostafa-Samir/zip-local/blob/master/main.js%23L365
- https://github.com/Mostafa-Samir/zip-local/commit/949446a95a660c0752b1db0c654f0fd619ae6085
- https://snyk.io/vuln/SNYK-JS-ZIPLOCAL-2327477
- https://github.com/Mostafa-Samir/zip-local/blob/master/main.js%23L365
- https://github.com/Mostafa-Samir/zip-local/commit/949446a95a660c0752b1db0c654f0fd619ae6085
- https://snyk.io/vuln/SNYK-JS-ZIPLOCAL-2327477
Get alerted when CVE-2021-23484 or the next vulnerability affects your stack