CVE-2023-39135 Path traversal in Zip Swift
Attackers can execute path traversal attacks via crafted zip entries in the Zip Swift 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
- None listed
What is CVE-2023-39135?
CVE-2023-39135 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 Zip Swift v2.1.2 allows attackers to execute a path traversal attack via a crafted zip entry.
Weakness: CWE-22
Which versions are affected by CVE-2023-39135?
2 open source packages ship an affected version, including github.com/marmelroy/Zip. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/marmelroy/Zip SwiftURL | All versions to 2.1.2 | None |
github.com/marmelroy/Zip SwiftURL | All versions to 2.1.2 | None |
Products include Marmelroy Zip.
How do I fix CVE-2023-39135?
No fix has been published for CVE-2023-39135 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-39135 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-39135 exists.
Sources
Also known as GHSA-g454-wj9r-jpg4.