CVE-2023-39138 json
Path traversal in ZIPFoundation
published 2023-08-30 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-2266 , GHSA-c2cc-3569-6jh2
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
An issue in ZIPFoundation v0.9.16 allows attackers to execute a path traversal via extracting a crafted zip file.
Patch / fix
- swift github.com/weichsel/ZIPFoundation 0.9.18
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- blog.ostorlab.co https://blog.ostorlab.co/zip-packages-exploitation.html referenced PoC, tagged "exploit" by a source, unverified
- ostorlab.co https://ostorlab.co/vulndb/advisory/OVE-2023-4 referenced PoC, tagged "exploit" by a source, unverified
- ostorlab.co https://ostorlab.co/vulndb/advisory/OVE-2023-6 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| swift | github.com/weichsel/ZIPFoundation | <0.9.18 |
0.9.18 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
blog.ostorlab.co
/zip-packages-exploitation.html
web, exploit
-
ostorlab.co
/vulndb/advisory/OVE-2023-4
web, exploit
-
ostorlab.co
/vulndb/advisory/OVE-2023-6
web, exploit
-
github.com
/weichsel/ZIPFoundation/issues/282
web, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2023-39138
advisory
-
github.com
/weichsel/ZIPFoundation
package
-
github.com
/weichsel/ZIPFoundation/releases/tag/0.9.18
web
Sources
- CVE List CVE-2023-39138
- GitHub Advisory GHSA-c2cc-3569-6jh2
- NVD CVE-2023-39138
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.