Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. zip-local
  4. ›
  5. CVE-2021-23484

CVE-2021-23484: Path traversal in Zip-Local

January 28, 2022 (updated August 8, 2023)

The package zip-local is 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.

References

  • github.com/Mostafa-Samir/zip-local/blob/master/main.js%23L365
  • github.com/Mostafa-Samir/zip-local/commit/949446a95a660c0752b1db0c654f0fd619ae6085
  • github.com/advisories/GHSA-wxj7-97fp-j53j
  • nvd.nist.gov/vuln/detail/CVE-2021-23484
  • snyk.io/vuln/SNYK-JS-ZIPLOCAL-2327477

Code Behaviors & Features

Detect and mitigate CVE-2021-23484 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.5

Fixed versions

  • 0.3.5

Solution

Upgrade to version 0.3.5 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/zip-local/CVE-2021-23484.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:41 +0000.