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
- NVD entry
- https://github.com/combust/mleap/pull/866#issuecomment-1738032225
- https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656/
Affected or Relevant Artifacts
- Developer: Unknown
- Deployer: Unknown
- Artifact Details:
| Type | Name |
|---|---|
| System | Unknown System |
Impact
AVID Taxonomy Categorization
- Risk domains: Security
- SEP subcategories: S0100: Software Vulnerability
- Lifecycle stages: L06: Deployment
CVSS
| Version | 3.1 |
| Vector String | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Base Score | 7.5 |
| Base Severity | 🔴 High |
| Attack Vector | NETWORK |
| Attack Complexity | 🔴 High |
| Privileges Required | 🟢 Low |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | 🔴 High |
| Integrity Impact | 🔴 High |
| Availability Impact | 🔴 High |
CWE
| ID | Description |
|---|---|
| CWE-22 | CWE-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