Skip to content

CVE-2024-10833 Arbitrary File Write in eosphoros-ai/db-gpt

CriticalCVSS 9.1 EPSS 0.84%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
eosphoros-ai/db-gpt <= latest after latest Fixed
pypi dbgpt(PyPI) < 0.6.2; = 0.4.7; = 0.5.0; = 0.5.1 +18 more 0.6.2 Fixed
dbgpt db-gpt = 0.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi dbgpt(PyPI) < 0.6.2 0.6.2
pypi dbgpt(PyPI) = 0.4.7 No fix listed
pypi dbgpt(PyPI) = 0.5.0 No fix listed
pypi dbgpt(PyPI) = 0.5.1 No fix listed
pypi dbgpt(PyPI) = 0.5.10 No fix listed
pypi dbgpt(PyPI) = 0.5.1rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.2 No fix listed
pypi dbgpt(PyPI) = 0.5.2rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.3 No fix listed
pypi dbgpt(PyPI) = 0.5.3rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.4 No fix listed
pypi dbgpt(PyPI) = 0.5.4rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.5 No fix listed
pypi dbgpt(PyPI) = 0.5.5rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.6 No fix listed
pypi dbgpt(PyPI) = 0.5.6rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.7 No fix listed
pypi dbgpt(PyPI) = 0.5.7rc0 No fix listed
pypi dbgpt(PyPI) = 0.5.8 No fix listed
pypi dbgpt(PyPI) = 0.5.9 No fix listed
pypi dbgpt(PyPI) = 0.5.9rc0 No fix listed
pypi dbgpt(PyPI) = 0.6.1 No fix listed
eosphoros-ai/db-gpt <= latest No fix listed
dbgpt db-gpt = 0.6.0 No fix listed

References