High, CVSS 7.5MavenPublished
Zip slip in mleap
CVE-2023-5245 · GHSA-897x-xvj8-42rq
- Affected
- Maven ml.combust.mleap:mleap-runtime_2.12 < 0.23.1
- Fixed in
- 0.23.1· Vendor fix available
- Issue
- 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 savedmodel 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
Recommended action: Upgrade to 0.23.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.