CVE-2024-1961 HIGH

CVE-2024-1961: Path Traversal leading to Arbitrary File Write and RCE in vertaai/modeldb

Vendor Vertaai
Product vertaai/modeldb
Weakness CWE-22 · Path traversal
Published April 16, 2024
Last update August 29, 2024

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 16, 2024 CVE published
August 29, 2024 Record updated