CVE-2023-39139 Path traversal in Archive
Attackers can execute path traversal attacks by extracting a crafted zip file using the Archive library, potentially reading or modifying arbitrary files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-39139?
CVE-2023-39139 is a high-severity path traversal vulnerability in n/a, published on 30 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
An issue in Archive v3.3.7 allows attackers to execute a path traversal via extracting a crafted zip file.
Weakness: CWE-22
Which versions are affected by CVE-2023-39139?
2 open source packages ship an affected version, including archive. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
archive Pub | All versions | 3.3.8 |
archive Pub | All versions | 3.3.8 |
Products include Archive Project Archive.
How do I fix CVE-2023-39139?
Upgrade archive to 3.3.8 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-39139 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-39139 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-9v85-q87q-g4vg.