{"id":"CVE-2018-1000167","aliases":["CVE-2018-1000167","GHSA-7c4h-w765-6pwg","PYSEC-2018-75"],"related":[],"kind":"vulnerability","state":"published","title":"OISF suricata-update unsafely deserializes YAML data","summary":"OISF suricata-update version 1.0.0a1 contains an Insecure Deserialization vulnerability in the insecure yaml.load-Function as used in the following files: config.py:136, config.py:142, sources.py:99 and sources.py:131. The \"list-sources\"-command is affected by this bug. that can result in Remote Code Execution(even as root if suricata-update is called by root). This attack appears to be exploitable via a specially crafted yaml-file at https://www.openinfosecfoundation.org/rules/index.yaml. This vulnerability appears to have been fixed in 1.0.0b1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OISF suricata-update version 1.0.0a1 contains an Insecure Deserialization vulnerability in the insecure yaml.load-Function as used in the following files: config.py:136, config.py:142, sources.py:99 and sources.py:131. The \"list-sources\"-command is affected by this bug. that can result in Remote Code Execution(even as root if suricata-update is called by root). This attack appears to be exploitable via a specially crafted yaml-file at https://www.openinfosecfoundation.org/rules/index.yaml. This vulnerability appears to have been fixed in 1.0.0b1.","source":"cvelist"},{"lang":"en","text":"Suricata-Update uses the insecure `yaml.load()` function. Code will be executed if the yaml-file contains lines like:\n\n```yaml\nhello: !!python/object/apply:os.system ['ls -l > /tmp/output']\n```\n\nThe 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OISF suricata-update 1.0.0a1 contiene una vulnerabilidad de deserialización no segura en la función insegura yaml.load, tal y como se emplea en los siguientes archivos: config.py:136, config.py:142, sources.py:99 y sources.py:131. El comando \"list-sources\" se ha visto afectado por este error que puede resultar en la ejecución remota de código (incluso como root si suricata-update es llamado por root). Este ataque parece ser explotable mediante un archivo yaml especialmente manipulado en https://www.openinfosecfoundation.org/rules/index.yaml. La vulnerabilidad parece haber sido solucionada en la versión 1.0.0b1.","source":"nvd"}],"published":"2018-04-18T19:00:00.000Z","modified":"2026-06-17T01:32:34.457Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","score":9.3,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.0b1"}],"ecosystem":"PyPI","package":"suricata-update","purl":"pkg:pypi/suricata-update","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.0.0a1"}],"vendor":"oisf","product":"suricata-update","cpe":"cpe:2.3:a:oisf:suricata-update:1.0.0a1:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.0b1"}],"ecosystem":"PyPI","package":"suricata-update","purl":"pkg:pypi/suricata-update","source":"pysec"}],"references":[{"url":"https://tech.feedyourhead.at/content/remote-code-execution-in-suricata-update","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://redmine.openinfosecfoundation.org/issues/2359","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000167","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/OISF/suricata-update/pull/23","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/OISF/suricata-update/commit/76270e73128ca1299b4e33e7e2a74ac3d963a97a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/OISF/suricata-update","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/suricata-update/PYSEC-2018-75.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-7c4h-w765-6pwg","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2018-1000167","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000167","licence":"CVE Terms of Use","modified":"2024-08-05T12:33:49.402Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7c4h-w765-6pwg","url":"https://github.com/advisories/GHSA-7c4h-w765-6pwg","licence":"CC-BY-4.0","modified":"2024-10-28T14:53:28.409Z"},{"source":"nvd","name":"NVD","id":"CVE-2018-1000167","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000167","licence":"Public domain","modified":"2026-06-17T01:32:34.457Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2018-75","url":"https://osv.dev/vulnerability/PYSEC-2018-75","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:42.638Z"}],"updatedAt":"2026-11-25T22:57:37.284Z","epss":{"score":0.04037,"percentile":0.90856,"date":"2026-12-01T12:00:22.000Z"}}