Skip to main content
← All vulnerabilities
CVE-2023-5245GHSA-897X-XVJ8-42RQ

Using MLeap for loading a saved model (zip archive) can lead to path traversal/arbitrary file creation and possibly remote code execution.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.23.1
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published261 days
  2. Record last updated

Affected versions

  • ml.combust.mleap.mleap-tensorflow

    From 0.18.0 · fixed in 0.23.1

  • ml.combust.mleap:mleap-runtime_2.12Maven

    fixed in 0.23.1

References 2

GitHub · combust/mleap

research.jfrog.com