Vulnerability · Published Apr 16, 2024 · Assigned by @huntr_ai
CVE-2024-1961Path Traversal leading to Arbitrary File Write and RCE in vertaai/modeldb
High 8.8
In plain English
A high-severity path traversal in vertaai/modeldb from vertaai. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities).
Official description
vertaai/modeldb is vulnerable to a path traversal attack due to improper sanitization of user-supplied file paths in its file upload functionality. Attackers can exploit this vulnerability to write arbitrary files anywhere in the file system by manipulating the 'artifact_path' parameter. This flaw can lead to Remote Code Execution (RCE) by overwriting critical files, such as the application's configuration file, especially when the application is run outside of Docker. The vulnerability is present in the NFSController.java and NFSService.java components of the application.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| vertaai | vertaai/modeldb | unspecified – through latest |
Weakness: CWE-22 · Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H