~ / search / GHSA-7c4h-w765-6pwg

GHSA-7c4h-w765-6pwg

OISF suricata-update unsafely deserializes YAML data

Source: GitHub Advisory Database (reviewed) High CVE-2018-1000167

Packages

EcosystemPackageAffectedFixed in
PyPI suricata-update < 1.0.0b1 1.0.0b1

Details

As written in the advisory (Markdown source, shown as plain text).

Suricata-Update uses the insecure `yaml.load()` function. Code will be executed if the yaml-file contains lines like: ```yaml 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.

References

External links from the advisory. They lead to third-party sites.