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

exploitDog

github логотип

GHSA-vm2f-46xc-5jc3

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

Описание

AstrBot has an arbitrary file read vulnerability in function _encode_image_bs64

AstrBot Project v3.5.22 has an arbitrary file read vulnerability in function _encode_image_bs64. Since the _encode_image_bs64 function defined in entities.py opens the image specified by the user in the request body and returns the image content as a base64-encoded string without checking the legitimacy of the image path, attackers can construct a series of malicious URLs to read any specified file, resulting in sensitive data leakage.

Пакеты

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

AstrBot

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

<= 3.5.22

Отсутствует

EPSS

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

5.7 Medium

CVSS4

Дефекты

CWE-125
CWE-22

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

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

AstrBot Project v3.5.22 has an arbitrary file read vulnerability in function _encode_image_bs64. Since the _encode_image_bs64 function defined in entities.py opens the image specified by the user in the request body and returns the image content as a base64-encoded string without checking the legitimacy of the image path, attackers can construct a series of malicious URLs to read any specified file, resulting in sensitive data leakage.

EPSS

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

5.7 Medium

CVSS4

Дефекты

CWE-125
CWE-22