CVE-2023-5245
Using MLeap for loading a saved model (zip archive) can lead to path traversal/arbitrary file creation and possibly remote code execution.
CRITICAL 9.8EPSS 1.2%
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
- Affected
- ml.combust.mleap.mleap-tensorflow
- CVSS v3.1 NVD
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v3.1 JFROG
- 7.5 HIGH
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS
- 1.19% chance of exploitation in the next 30 days, 67th percentile
- Published
- 2023-11-15
- Updated
- 2024-08-02
Proof-of-concept exploits (1)
Security advisories
- https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656
- advisories/GHSA-897x-xvj8-42rq
- combust/mleap/pull/866#issuecomment-1738032225