Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-j9g7-mqhh-9hxf

Опубликовано: 20 мар. 2025
Источник: github
Github: Прошло ревью
CVSS3: 9.1

Описание

DB-GPT Absolute Path Traversal in knowledge/{space_name}/document/upload

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.

Пакеты

Наименование

dbgpt

pip
Затронутые версииВерсия исправления

< 0.6.2

0.6.2

EPSS

Процентиль: 45%
0.00224
Низкий

9.1 Critical

CVSS3

Дефекты

CWE-22
CWE-36

Связанные уязвимости

CVSS3: 9.1
nvd
11 месяцев назад

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.

EPSS

Процентиль: 45%
0.00224
Низкий

9.1 Critical

CVSS3

Дефекты

CWE-22
CWE-36