Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dbgpt
  4. ›
  5. CVE-2024-10833

CVE-2024-10833: DB-GPT Absolute Path Traversal in knowledge/{space_name}/document/upload

March 20, 2025 (updated March 21, 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.

References

  • github.com/advisories/GHSA-j9g7-mqhh-9hxf
  • github.com/eosphoros-ai/DB-GPT
  • github.com/eosphoros-ai/DB-GPT/commit/780ce803e325b87f4ddfbe5824451e379aeee56c
  • huntr.com/bounties/dc58e981-e325-4c11-b4e1-1095890fd15a
  • nvd.nist.gov/vuln/detail/CVE-2024-10833

Code Behaviors & Features

Detect and mitigate CVE-2024-10833 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.2

Fixed versions

  • 0.6.2

Solution

Upgrade to version 0.6.2 or above.

Impact 9.1 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/dbgpt/CVE-2024-10833.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:23 +0000.