Home » Database

AVID-2026-R1319

Description

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

Details

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

Reason for inclusion in AVID: CVE-2023-5245 describes a path traversal vulnerability in MLeap when loading a saved model, enabling arbitrary file creation and potential remote code execution. This directly concerns AI/ML software stacks (model loading, ML pipelines) and involves a software library used to build/deploy AI systems. It constitutes a security vulnerability with exploitability leading to code execution, impacting the software supply chain of general-purpose AI systems. The report provides explicit details of the vulnerability and its impact.

References

Affected or Relevant Artifacts

  • Developer: Unknown
  • Deployer: Unknown
  • Artifact Details:
TypeName
SystemUnknown System

Impact

AVID Taxonomy Categorization

  • Risk domains: Security
  • SEP subcategories: S0100: Software Vulnerability
  • Lifecycle stages: L06: Deployment

CVSS

Version3.1
Vector StringCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Base Score7.5
Base Severity🔴 High
Attack VectorNETWORK
Attack Complexity🔴 High
Privileges Required🟢 Low
User InteractionNONE
ScopeUNCHANGED
Confidentiality Impact🔴 High
Integrity Impact🔴 High
Availability Impact🔴 High

CWE

IDDescription
CWE-22CWE-22 Improper Limitation of a Pathname to a Restricted Directory (‘Path Traversal’)

Other information

  • Report Type: Advisory
  • Credits:
  • Date Reported: 2023-11-15
  • Version: 0.3.3
  • AVID Entry