CVE-2024-1961CWE-22

Path Traversal leading to Arbitrary File Write and RCE in vertaai/modeldb

High · published April 16, 2024

CVSS v3.0
8.8
EPSS
1%
Percentile
63.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
8.8 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01034 · 63.5th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-04-16T00:00Z
EPSS history
Timeline
  • 16 APR 00:00Z
    Path Traversal leading to Arbitrary File Write and RCE in vertaai/modeldb
    cvelistv5