CVE-2024-10834

eosphoros-ai/db-gpt version 0.6.0 contains a vulnerability in the RAG-knowledge endpoint that allows for arbitrary file write. The issue arises from the ability to pass an absolute path to a call to `os.path.join`, enabling an attacker to write files to arbitrary locations on the target server. This vulnerability can be exploited by setting the `doc_file.filename` to an absolute path, which can lead to overwriting system files or creating new SSH-key entries.
Configurations

No configuration.

History

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-03-20 10:15


NVD link : CVE-2024-10834

Mitre link : CVE-2024-10834

CVE.ORG link : CVE-2024-10834


JSON object : View

Products Affected

No product.

CWE
CWE-73

External Control of File Name or Path