CVE-2023-5245

published 15 Nov 2023 · updated 2 Aug 2024

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

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.23.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=0.18.0 <0.23.10.23.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-5245 severity on Zeptric[![CVE-2023-5245](https://zeptric.io/badge/cve/CVE-2023-5245.svg)](https://zeptric.io/cve/CVE-2023-5245)