Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. suricata-update
  4. ›
  5. CVE-2018-1000167

CVE-2018-1000167: OISF suricata-update unsafely deserializes YAML data

May 14, 2022 (updated October 28, 2024)

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.

References

  • github.com/OISF/suricata-update
  • github.com/OISF/suricata-update/commit/76270e73128ca1299b4e33e7e2a74ac3d963a97a
  • github.com/OISF/suricata-update/pull/23
  • github.com/advisories/GHSA-7c4h-w765-6pwg
  • github.com/pypa/advisory-database/tree/main/vulns/suricata-update/PYSEC-2018-75.yaml
  • nvd.nist.gov/vuln/detail/CVE-2018-1000167
  • redmine.openinfosecfoundation.org/issues/2359
  • tech.feedyourhead.at/content/remote-code-execution-in-suricata-update

Code Behaviors & Features

Detect and mitigate CVE-2018-1000167 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.0b1

Fixed versions

  • 1.0.0b1

Solution

Upgrade to version 1.0.0b1 or above.

Impact 7.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

pypi/suricata-update/CVE-2018-1000167.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:52 +0000.