Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. w-zip
  4. ›
  5. CVE-2022-0401

CVE-2022-0401: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

February 2, 2022 (updated February 10, 2022)

Path Traversal in NPM w-zip

References

  • github.com/advisories/GHSA-fr6q-jv7j-35g3
  • github.com/yuda-lyu/w-zip/commit/d7039d034e02fa358e6656565157cedf5fa83288
  • huntr.dev/bounties/d93259aa-ad03-43d6-8846-a00b9f58876d
  • nvd.nist.gov/vuln/detail/CVE-2022-0401

Code Behaviors & Features

Detect and mitigate CVE-2022-0401 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 1.0.12

Fixed versions

  • 1.0.12

Solution

Upgrade to version 1.0.12 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')
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

npm/w-zip/CVE-2022-0401.yml

Spotted a mistake? Edit the file on GitLab.

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

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