CVE-2023-39138 json
Path traversal in ZIPFoundation
published 3y ago modified 4mo 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
Is CVE-2023-39138 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-14).
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 Intel 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.