logo

CVE-2018-1000167 suricata-update

Package

Manager: pip
Name: suricata-update
Vulnerable Version: >=0 <1.0.0b1

Severity

Level: High

CVSS v3.1: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.01506 pctl0.80481

Details

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: ```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.

Metadata

Created: 2022-05-14T03:22:02Z
Modified: 2024-10-28T14:41:27Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7c4h-w765-6pwg/GHSA-7c4h-w765-6pwg.json
CWE IDs: ["CWE-502"]
Alternative ID: GHSA-7c4h-w765-6pwg
Finding: F096
Auto approve: 1