Vulnerabilities · 2024 · Dbgpt
CVE-2024-10834
Dbgpt Db-gpt vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Db-gpt. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Dbgpt Db-gpt runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Dbgpt products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.