CVE-2022-48285 JSZip contains Path Traversal via loadAsync
Attackers can exploit a directory traversal flaw in JSZip to read or modify arbitrary files via a crafted ZIP archive.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-48285?
CVE-2022-48285 is a high-severity path traversal vulnerability in n/a, published on 29 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
loadAsync in JSZip before 3.8.0 allows Directory Traversal via a crafted ZIP archive.
Weakness: CWE-22
Which versions are affected by CVE-2022-48285?
2 open source packages ship an affected version, including jszip. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
jszip npm | All versions | 3.8.0 |
jszip npm | All versions | 3.8.0 |
Products include Jszip Project Jszip.
How do I fix CVE-2022-48285?
Upgrade jszip to 3.8.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-48285 being exploited?
There is no known exploitation of CVE-2022-48285 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as AZL-38236, AZL-57076, DEBIAN-CVE-2022-48285, GHSA-36fh-84j7-cv5h, UBUNTU-CVE-2022-48285.