Vulnerability · Published Nov 15, 2023 · Assigned by JFROG

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

High 7.5

In plain English

A high-severity path traversal in ml.combust.mleap.mleap-tensorflow. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.2%top 32.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenml.combust.mleap:mleap-runtime_2.120.23.1GHSA-897x-xvj8-42rq

Affected products (as reported)

VendorProductVersions
ml.combust.mleap.mleap-tensorflow 0.18.0 – before 0.23.1

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References