CVE-2023-5245

Source
https://cve.org/CVERecord?id=CVE-2023-5245
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-5245.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-5245
Aliases
Published
2023-11-15T12:52:18.656Z
Modified
2026-07-15T01:49:15.130961811Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Using MLeap for loading a saved model (zip archive) can lead to path traversal/arbitrary file creation and possibly remote code execution.
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

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5245.json",
    "cna_assigner": "JFROG"
}
References

Affected packages

Git / github.com/combust/mleap

Affected ranges

Type
GIT
Repo
https://github.com/combust/mleap
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:combust:mleap:0.18.0:*:*:*:*:*:*:*",
        "cpe:2.3:a:combust:mleap:0.23.0:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0.18.0"
        },
        {
            "fixed": "0.23.1"
        },
        {
            "last_affected": "0.18.0"
        },
        {
            "introduced": "0.23.0"
        },
        {
            "last_affected": "0.23.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_STRING"
    ]
}

Affected versions

0.*
0.18.0
0.23.0
v0.*
v0.18.0
v0.18.1
v0.19.0
v0.20.0
v0.21.0
v0.21.1
v0.22.0
v0.23.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-5245.json"