mostafa-samir/zip-local · Security
Exposure of Resource to Wrong Sphere in Zip-Local
- GHSA ID
- GHSA-wxj7-97fp-j53j
- CVE ID
- CVE-2021-23484
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
CWEs
- CWE-29 · Path Traversal: '..filename'
- CWE-668 · Exposure of Resource to Wrong Sphere
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23484 ↗
- https://github.com/Mostafa-Samir/zip-local/commit/949446a95a660c0752b1db0c654f0fd619ae6085 ↗
- https://github.com/Mostafa-Samir/zip-local/blob/master/main.js%23L365 ↗
- https://snyk.io/vuln/SNYK-JS-ZIPLOCAL-2327477 ↗
- https://github.com/Mostafa-Samir/zip-local/commit/6bb9b59733df379ac168aa705790bd8339b4bf9b ↗
- https://github.com/advisories/GHSA-wxj7-97fp-j53j ↗