Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. jszip
  4. ›
  5. CVE-2022-48285

CVE-2022-48285: JSZip contains Path Traversal via loadAsync

January 29, 2023 (updated November 18, 2024)

loadAsync in JSZip before 3.8.0 allows Directory Traversal via a crafted ZIP archive.

References

  • exchange.xforce.ibmcloud.com/vulnerabilities/244499
  • github.com/Stuk/jszip
  • github.com/Stuk/jszip/commit/2edab366119c9ee948357c02f1206c28566cdf15
  • github.com/Stuk/jszip/compare/v3.7.1...v3.8.0
  • github.com/advisories/GHSA-36fh-84j7-cv5h
  • nvd.nist.gov/vuln/detail/CVE-2022-48285
  • security.netapp.com/advisory/ntap-20240621-0005
  • www.mend.io/vulnerability-database/WS-2023-0004

Code Behaviors & Features

Detect and mitigate CVE-2022-48285 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 3.8.0

Fixed versions

  • 3.8.0

Solution

Upgrade to version 3.8.0 or above.

Impact 7.3 HIGH

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

Learn more about CVSS

Weakness

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

Source file

npm/jszip/CVE-2022-48285.yml

Spotted a mistake? Edit the file on GitLab.

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

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