GitHub Advisoryadvisory · Maven

GHSA-897x-xvj8-42rq Zip slip in mleap

HIGH Published 2023-11-15 Modified 2023-11-23 Official page ↗
Aliases
CVE-2023-5245
Ecosystem
Maven
Packages
ml.combust.mleap:mleap-runtime_2.12
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-22
Reviewed
2023-11-23

Affected packages

• Maven ml.combust.mleap:mleap-runtime_2.12: < 0.23.1 → fixed in 0.23.1

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

Related

Alias · CVE (1)

  • CVE-2023-5245 FileUtil.extract() enumerates all zip file entries and extracts each file without validating whether file paths in the archive are outside… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References