CVE-2024-10833
March 20, 2025
eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. The endpoint for uploading files as 'knowledge' is susceptible to absolute path traversal, allowing attackers to write files to arbitrary locations on the target server. This vulnerability arises because the 'doc_file.filename' parameter is user-controllable, enabling the construction of absolute paths.
Affected Packages
https://github.com/eosphoros-ai/DB-GPT.git (GITHUB):
Affected version(s) >=v0.0.1 <v0.6.2Fix Suggestion:
Update to version v0.6.2dbgpt (PYTHON):
Affected version(s) >=0.4.7 <0.6.2Fix Suggestion:
Update to version 0.6.2dbgpt (PYTHON):
Affected version(s) >=0.4.7 <0.6.2Fix Suggestion:
Update to version 0.6.2Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.22