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

exploitDog

github логотип

GHSA-7c4h-w765-6pwg

Опубликовано: 14 мая 2022
Источник: github
Github: Прошло ревью
CVSS4: 8.6
CVSS3: 7.8

Описание

OISF suricata-update unsafely deserializes YAML data

Suricata-Update uses the insecure yaml.load() function. Code will be executed if the yaml-file contains lines like:

hello: !!python/object/apply:os.system ['ls -l > /tmp/output']

The vulnerable function can be triggered by "suricata-update list-sources". The locally stored index.yaml will be loaded in this function and the malicious code gets executed.

Пакеты

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

suricata-update

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

<= 1.0.0a1

1.0.0b1

EPSS

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

8.6 High

CVSS4

7.8 High

CVSS3

Дефекты

CWE-502

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

CVSS3: 7.8
nvd
почти 8 лет назад

OISF suricata-update version 1.0.0a1 contains an Insecure Deserialization vulnerability in the insecure yaml.load-Function as used in the following files: config.py:136, config.py:142, sources.py:99 and sources.py:131. The "list-sources"-command is affected by this bug. that can result in Remote Code Execution(even as root if suricata-update is called by root). This attack appears to be exploitable via a specially crafted yaml-file at https://www.openinfosecfoundation.org/rules/index.yaml. This vulnerability appears to have been fixed in 1.0.0b1.

EPSS

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

8.6 High

CVSS4

7.8 High

CVSS3

Дефекты

CWE-502