CVE-2022-48285: Path Traversal
A flaw was found in the JSZip package. Affected versions of JSZip could allow a remote attacker to traverse directories on the system caused by the failure to sanitize filenames when files are loaded with loadAsync, which makes the library vulnerable to a Zip Slip attack. By extracting files from a specially crafted archive, an attacker could gain access to parts of the file system outside of the target folder, overwrite the executable files, and execute arbitrary commands on the system.
Other sources
loadAsync in JSZip before 3.8.0 allows Directory Traversal via a crafted ZIP archive.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID of this vulnerability?
The vulnerability ID of this vulnerability is CVE-2022-48285.
What is the title of this vulnerability?
The title of this vulnerability is 'loadAsync in JSZip before 3.8.0 allows Directory Traversal via a crafted ZIP archive.'
What is the severity of CVE-2022-48285?
The severity of CVE-2022-48285 is high.
How does CVE-2022-48285 affect JSZip?
CVE-2022-48285 affects JSZip by allowing a remote attacker to traverse directories on the system through a Zip Slip attack.
How do I fix CVE-2022-48285 in JSZip?
To fix CVE-2022-48285 in JSZip, update to version 3.8.0 or later.