{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-5245","assignerOrgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","state":"PUBLISHED","assignerShortName":"JFROG","dateReserved":"2023-09-28T06:08:57.423Z","datePublished":"2023-11-15T12:52:18.656Z","dateUpdated":"2024-08-02T07:52:08.515Z"},"containers":{"cna":{"affected":[{"collectionURL":"https://mvnrepository.com","packageName":"ml.combust.mleap.mleap-tensorflow","versions":[{"version":"0.18.0","lessThan":"0.23.1","status":"affected","versionType":"maven"}]}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>FileUtil.extract() enumerates all zip file entries and extracts each file without validating whether file paths in the archive are outside the intended directory.</p><p>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().</p><p>Arbitrary file creation can directly lead to code execution</p>"}],"value":"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"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","shortName":"JFROG","dateUpdated":"2024-07-15T00:27:54.327Z"},"references":[{"tags":["patch"],"url":"https://github.com/combust/mleap/pull/866#issuecomment-1738032225"},{"tags":["third-party-advisory"],"url":"https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656/"}],"source":{"discovery":"EXTERNAL"},"title":"Using MLeap for loading a saved model (zip archive) can lead to path traversal/arbitrary file creation and possibly remote code execution."},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T07:52:08.515Z"},"title":"CVE Program Container","references":[{"tags":["patch","x_transferred"],"url":"https://github.com/combust/mleap/pull/866#issuecomment-1738032225"},{"tags":["third-party-advisory","x_transferred"],"url":"https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656/"}]}]}}