{"id":"GHSA-897x-xvj8-42rq","summary":"Zip slip in mleap","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.\n\nWhen 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().\n\nArbitrary file creation can directly lead to code execution\n\n","aliases":["CVE-2023-5245"],"modified":"2024-02-20T05:31:38.165692Z","published":"2023-11-15T15:30:21Z","database_specific":{"github_reviewed_at":"2023-11-23T03:36:16Z","nvd_published_at":"2023-11-15T13:15:07Z","cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5245"},{"type":"WEB","url":"https://github.com/combust/mleap/pull/866#issuecomment-1738032225"},{"type":"PACKAGE","url":"https://github.com/combust/mleap"},{"type":"WEB","url":"https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656"}],"affected":[{"package":{"name":"ml.combust.mleap:mleap-runtime_2.12","ecosystem":"Maven","purl":"pkg:maven/ml.combust.mleap/mleap-runtime_2.12"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.1"}]}],"versions":["0.14.0","0.15.0","0.16.0","0.17.0","0.18.0","0.18.1","0.19.0","0.20.0","0.21.0","0.21.1","0.22.0","0.23.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/11/GHSA-897x-xvj8-42rq/GHSA-897x-xvj8-42rq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}