Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. ml.combust.mleap/mleap-runtime_2.12
  4. ›
  5. CVE-2023-5245

CVE-2023-5245: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

November 15, 2023 (updated November 23, 2023)

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

References

  • github.com/advisories/GHSA-897x-xvj8-42rq
  • github.com/combust/mleap/pull/866
  • nvd.nist.gov/vuln/detail/CVE-2023-5245
  • research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656/

Code Behaviors & Features

Detect and mitigate CVE-2023-5245 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.23.1

Fixed versions

  • 0.23.1

Solution

Upgrade to version 0.23.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/ml.combust.mleap/mleap-runtime_2.12/CVE-2023-5245.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.