CVE-2022-48285 Details
Description
loadAsync in JSZip before 3.8.0 allows Directory Traversal via a crafted ZIP archive.
A directory traversal vulnerability has been identified in JSZip versions prior to 3.8.0. The issue arises in the 'loadAsync' function, where filenames are not properly sanitized when extracting files from a ZIP archive. This flaw makes the library susceptible to a Zip Slip attack, allowing an attacker to access files outside the intended directory, overwrite executable files, and execute arbitrary commands on the system.
Users are advised to upgrade to JSZip version 3.8.0 or later, available from the JSZip GitHub Repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 23, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://exchange.xforce.ibmcloud.com/vulnerabilities/244499 | CVE | Third Party AdvisoryVDB Entry |
| https://github.com/Stuk/jszip/commit/2edab366119c9ee948357c02f1206c28566cdf15 | CVE | PatchThird Party Advisory |
| https://github.com/Stuk/jszip/compare/v3.7.1...v3.8.0 | CVE | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20240621-0005/ | CVE | |
| https://www.mend.io/vulnerability-database/WS-2023-0004 | CVE | Third Party Advisory |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/244499 | [email protected] | Third Party AdvisoryVDB Entry |
| https://github.com/Stuk/jszip/commit/2edab366119c9ee948357c02f1206c28566cdf15 | [email protected] | PatchThird Party Advisory |
| https://github.com/Stuk/jszip/compare/v3.7.1...v3.8.0 | [email protected] | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20240621-0005/ | [email protected] | |
| https://www.mend.io/vulnerability-database/WS-2023-0004 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| jszip project jszip | < 3.8.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 1, 2024 | CVE Modified | CISA-ADP |
| Jun 21, 2024 | CVE Modified | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 3, 2023 | Reanalysis | [email protected] |
| Feb 6, 2023 | Initial Analysis | [email protected] |