GHSA-7c4h-w765-6pwgHighCVSS 7.8

OISF suricata-update unsafely deserializes YAML data

Published
May 14, 2022
Last Modified
October 28, 2024

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • pip/suricata-update:<= 1.0.0a1

🔗 References (7)