critical9.8
CVE-2021-23484
Exposure of Resource to Wrong Sphere in Zip-Local
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | zip-local | < 0.3.5 | 0.3.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Zip-Local Project | Zip-Local | before 0.3.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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/advisories/GHSA-wxj7-97fp-j53j
- https://nvd.nist.gov/vuln/detail/CVE-2021-23484
- https://github.com/Mostafa-Samir/zip-local/commit/6bb9b59733df379ac168aa705790bd8339b4bf9b