CVE-2024-10831 – dbgpt
Package
Manager: pip
Name: dbgpt
Vulnerable Version: >=0 <=0.6.0
Severity
Level: Critical
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00112 pctl0.30438
Details
DB-GPT Absolute Path Traversal vulnerability In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. This vulnerability allows an attacker to upload arbitrary files to arbitrary locations on the target server. The issue arises because the `file_key` and `doc_file.filename` parameters are user-controllable, enabling the construction of paths outside the intended directory. This can lead to overwriting essential system files, such as SSH keys, for further exploitation.
Metadata
Created: 2025-03-20T12:32:40Z
Modified: 2025-03-21T16:05:47Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-hhw5-29f6-hf4x/GHSA-hhw5-29f6-hf4x.json
CWE IDs: ["CWE-36"]
Alternative ID: GHSA-hhw5-29f6-hf4x
Finding: F063
Auto approve: 1