Advisory Published
Advisory Published

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.

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


Affected SoftwareAffected VersionHow to fix
Combust Mleap=0.18.0
Combust Mleap=0.23.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-5245?

    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).

  • What is the severity of CVE-2023-5245?

    CVE-2023-5245 has a severity rating of 9.8 (critical).

  • How does CVE-2023-5245 affect the MLeap library?

    CVE-2023-5245 affects the MLeap library when using the FileUtil.extract() function to extract files from a zip archive without validating file paths.

  • Which versions of MLeap are affected by CVE-2023-5245?

    Versions 0.18.0 and 0.23.0 of the MLeap library are affected by CVE-2023-5245.

  • How can I fix CVE-2023-5245?

    To fix CVE-2023-5245, update to version 0.23.1 of the MLeap library.


SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2023 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203