Vulnerability Details : CVE-2023-5245
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
Vulnerability category: Directory traversal
Products affected by CVE-2023-5245
- cpe:2.3:a:combust:mleap:0.18.0:*:*:*:*:*:*:*
- cpe:2.3:a:combust:mleap:0.23.0:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-5245
0.45%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 75 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-5245
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.6
|
5.9
|
JFrog |
CWE ids for CVE-2023-5245
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: reefs@jfrog.com (Secondary)
References for CVE-2023-5245
-
https://github.com/combust/mleap/pull/866#issuecomment-1738032225
Fix - Add zip slip validation by David-Fadida · Pull Request #866 · combust/mleap · GitHubIssue Tracking;Patch
-
https://research.jfrog.com/vulnerabilities/mleap-path-traversal-rce-xray-532656/
MLeap Path Traversal RCE | XRAY-532656 - JFrog Security ResearchExploit;Third Party Advisory
Jump to