Lucene search

K
osvGoogleOSV:GHSA-7C4H-W765-6PWG
HistoryMay 14, 2022 - 3:22 a.m.

OISF suricata-update unsafely deserializes YAML data

2022-05-1403:22:02
Google
osv.dev
2

7.2 High

AI Score

Confidence

Low

0.004 Low

EPSS

Percentile

73.4%

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.

CPENameOperatorVersion
suricata-updateeq1.0.0a1

7.2 High

AI Score

Confidence

Low

0.004 Low

EPSS

Percentile

73.4%

Related for OSV:GHSA-7C4H-W765-6PWG