First published: Wed Nov 15 2023(Updated: )
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
Credit: reefs@jfrog.com reefs@jfrog.com
Affected Software | Affected Version | How to fix |
---|---|---|
maven/ml.combust.mleap:mleap-runtime_2.12 | <0.23.1 | 0.23.1 |
Combust Mleap | =0.18.0 | |
Combust Mleap | =0.23.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-5245 is a vulnerability in the MLeap library that allows for path traversal and arbitrary file creation when loading a saved model (zip archive).
CVE-2023-5245 has a severity rating of 9.8 (critical).
CVE-2023-5245 affects the MLeap library when using the FileUtil.extract() function to extract files from a zip archive without validating file paths.
Versions 0.18.0 and 0.23.0 of the MLeap library are affected by CVE-2023-5245.
To fix CVE-2023-5245, update to version 0.23.1 of the MLeap library.