CVE-2023-5245
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().
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.19%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.19% probability · 66th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- combust/mleap
- Source
- reefs@jfrog.com
References
- https://github.com/combust/mleap/pull/866#issuecomment-1738032225Issue Tracking, Patch
- https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656/Exploit, Third Party Advisory
- https://github.com/combust/mleap/pull/866#issuecomment-1738032225Issue Tracking, Patch
- https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656/Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.