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.
{
"severity": "HIGH",
"nvd_published_at": "2018-04-18T19:29:00Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-502"
],
"github_reviewed_at": "2024-02-23T20:56:20Z"
}