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

exploitDog

github логотип

GHSA-xrj9-mw57-j34v

Опубликовано: 07 нояб. 2025
Источник: github
Github: Прошло ревью
CVSS4: 8.7

Описание

AstrBot contains a directory traversal vulnerability

AstrBot Project v3.5.22 contains a directory traversal vulnerability. The handler function install_plugin_upload of the interface '/plugin/install-upload' parses the filename from the request body provided by the user, and directly uses the filename to assign to file_path without checking the validity of the filename. The variable file_path is then passed as a parameter to the function file.save, so that the file in the request body can be saved to any location in the file system through directory traversal.

Пакеты

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

AstrBot

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

<= 3.5.22

Отсутствует

EPSS

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

8.7 High

CVSS4

Дефекты

CWE-22

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

CVSS3: 7.5
nvd
3 месяца назад

AstrBot Project v3.5.22 contains a directory traversal vulnerability. The handler function install_plugin_upload of the interface '/plugin/install-upload' parses the filename from the request body provided by the user, and directly uses the filename to assign to file_path without checking the validity of the filename. The variable file_path is then passed as a parameter to the function `file.save`, so that the file in the request body can be saved to any location in the file system through directory traversal.

EPSS

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

8.7 High

CVSS4

Дефекты

CWE-22