suricata-update
Affected
- introduced
0, fixed1.0.0b1(ecosystem)
Fixed versions
1.0.0b1
Fix
- Fixed version
1.0.0b1pip install --upgrade suricata-update==1.0.0b1
Advisory
Also known as: CVE-2018-1000167, PYSEC-2018-75
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.
High Basis: The source's own band: HIGH
0, fixed 1.0.0b1 (ecosystem)1.0.0b1
1.0.0b1pip install --upgrade suricata-update==1.0.0b1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0