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

exploitDog

github логотип

GHSA-crhp-7c74-cg4c

Опубликовано: 12 дек. 2023
Источник: github
Github: Прошло ревью
CVSS3: 5.3

Описание

Improper Input Validation in mindsdb

Impact

The put method in mindsdb/mindsdb/api/http/namespaces/file.py does not validate the user-controlled name value, which is used in a temporary file name, which is afterwards opened for writing on lines 122-125, which leads to path injection. This issue may lead to arbitrary file write. This vulnerability allows for writing files anywhere on the server that the filesystem permissions that the running server has access to.

Patches

Use mindsdb staging branch or v23.11.4.1

References

Пакеты

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

mindsdb

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

< 23.11.4.1

23.11.4.1

EPSS

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

5.3 Medium

CVSS3

Дефекты

CWE-20

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

CVSS3: 5.3
nvd
около 2 лет назад

MindsDB connects artificial intelligence models to real time data. Versions prior to 23.11.4.1 contain a limited file write vulnerability in `file.py` Users should use MindsDB's `staging` branch or v23.11.4.1, which contain a fix for the issue.

EPSS

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

5.3 Medium

CVSS3

Дефекты

CWE-20