CVE-2023-5245 json
Using MLeap for loading a saved model (zip archive) can lead to path traversal/arbitrary file creation and possibly remote code execution.
published 2023-11-15 2 y ago modified 2026-06-17 4 mo ago also GHSA-897x-xvj8-42rq , EUVD-2023-2920
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
FileUtil.extract() enumerates all zip file entries and extracts each file without validating whether file paths in the archive are outside the intended directory.
When creating an instance of TensorflowModel using the saved_model format and an exported tensorflow model, the apply() function invokes the vulnerable implementation of FileUtil.extract().
Arbitrary file creation can directly lead to code execution
Patch / fix
Exploit prediction
1.19% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- research.jfrog.com https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | ml.combust.mleap:mleap-runtime_2.12 | <0.23.1 |
0.23.1 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/combust/mleap/pull/866#issuecomment-1738032225
patch, web, issue-tracking
-
research.jfrog.com
/vulnerabilities/mleap-path-traversal-rce-xray-532656/
third-party-advisory, exploit
-
nvd.nist.gov
/vuln/detail/CVE-2023-5245
advisory
-
github.com
/combust/mleap
package
-
research.jfrog.com
/vulnerabilities/mleap-path-traversal-rce-xray-532656
web
Sources
- CVE List CVE-2023-5245
- GitHub Advisory GHSA-897x-xvj8-42rq
- NVD CVE-2023-5245
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.