{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-2809","id":"CVE-2017-2809","title":"Code injection in ansible","description":"An exploitable vulnerability exists in the yaml loading functionality of ansible-vault before 1.0.5. A specially crafted vault can execute arbitrary python commands resulting in command execution. An attacker can insert python into the vault to trigger this vulnerability.","descriptionLong":"An exploitable vulnerability exists in the yaml loading functionality of ansible-vault before 1.0.5. A specially crafted vault can execute arbitrary python commands resulting in command execution. An attacker can insert python into the vault to trigger this vulnerability.","published":"2017-09-14T19:00:00.000Z","updated":"2026-10-20T10:48:50.090110442Z","reserved":"2016-12-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"talos","metric":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"talos"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"talos"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"cisco.com"},{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Tomohiro Nakamura ansible-vault"],"affectedProducts":[{"vendor":"Tomohiro Nakamura","product":"ansible-vault","defaultStatus":null,"versions":[{"status":"affected","version":"1.0.4"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ansible-vault","purl":"pkg:pypi/ansible-vault","ranges":["<1.0.5"],"fixed":["1.0.5"],"advisory":"GHSA-c2w9-48qc-qpj4"}],"cwes":["CWE-94"],"aliases":["GHSA-c2w9-48qc-qpj4","PYSEC-2017-5"],"references":[{"url":"http://www.securityfocus.com/bid/100824","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://github.com/tomoh1r/ansible-vault/blob/v1.0.5/CHANGES.txt","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/tomoh1r/ansible-vault/issues/4","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/tomoh1r/ansible-vault/commit/3f8f659ef443ab870bb19f95d43543470168ae04","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web","fix"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0305","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2809","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-c2w9-48qc-qpj4","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible-vault/PYSEC-2017-5.yaml","tags":["web"]},{"url":"https://github.com/tomoh1r/ansible-vault","tags":["package"]},{"url":"https://web.archive.org/web/20171206173637/http://www.securityfocus.com/bid/100824","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0298,"epssPercentile":0.87548,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-2809","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2809","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-2809","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c2w9-48qc-qpj4","ok":true,"note":"GHSA-c2w9-48qc-qpj4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-2809","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}