{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-5245","id":"CVE-2023-5245","title":"Using MLeap for loading a saved model (zip archive) can lead to path traversal/arbitrary file creation and possibly remote code execution.","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.\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 ","descriptionLong":"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","published":"2023-11-15T12:52:18.656Z","updated":"2026-10-28T02:30:51.716862928Z","reserved":"2023-09-28T06:08:57.423Z","status":"Modified","rejected":false,"assigner":"JFROG","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"JFROG"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"JFROG"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"jfrog.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["ml.combust.mleap.mleap-tensorflow"],"affectedProducts":[{"vendor":"","product":"ml.combust.mleap.mleap-tensorflow","defaultStatus":null,"versions":[{"version":"0.18.0","lessThan":"0.23.1","status":"affected","versionType":"maven"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"ml.combust.mleap:mleap-runtime_2.12","purl":"pkg:maven/ml.combust.mleap/mleap-runtime_2.12","ranges":["<0.23.1"],"fixed":["0.23.1"],"advisory":"GHSA-897x-xvj8-42rq"}],"cwes":["CWE-22"],"aliases":["GHSA-897x-xvj8-42rq"],"references":[{"url":"https://github.com/combust/mleap/pull/866#issuecomment-1738032225","tags":["patch","x_transferred","Issue Tracking","Patch","fix","web"]},{"url":"https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656/","tags":["third-party-advisory","x_transferred","Exploit","Third Party Advisory","advisory"]},{"url":"https://mvnrepository.com","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5245.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5245","tags":["advisory"]},{"url":"https://github.com/combust/mleap","tags":["package"]},{"url":"https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01492,"epssPercentile":0.74688,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-5245","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5245","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-5245","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-897x-xvj8-42rq","ok":true,"note":"GHSA-897x-xvj8-42rq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-5245","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}