{"id":"CVE-2017-2809","aliases":["EUVD-2017-0001","GHSA-c2w9-48qc-qpj4","PYSEC-2017-5"],"status":"published","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.","severity":{"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-07","score":0.0298,"percentile":0.87362,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2017-09-14T19:00:00Z","modified":"2026-10-20T10:48:50Z","fixes":[{"ecosystem":"PyPI","package":"ansible-vault","fixed_in":["1.0.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"ansible-vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}]},{"source":"osv","ecosystem":"PyPI","package":"ansible-vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4"]},{"source":"osv","ecosystem":"PyPI","package":"ansible-vault","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"3f8f659ef443ab870bb19f95d43543470168ae04"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0"]}],"products":[{"vendor":"ansible-vault_project","product":"ansible-vault"},{"vendor":"tomohiro nakamura","product":"ansible-vault"}],"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://web.archive.org/web/20171206173637/http://www.securityfocus.com/bid/100824","tags":["web"]},{"url":"https://github.com/tomoh1r/ansible-vault","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2017-2809","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.","status":"published","published":"2017-09-14T19:00:00Z","modified":"2024-09-16T20:53:03.863Z","cvss":[{"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","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:33:15.201133Z"}],"euvd":[{"id":"EUVD-2017-0001","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.","status":"published","published":"2017-09-14T19:00:00Z","modified":"2024-09-16T20:53:03Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-03T00:55:10.024877Z"}],"ghsa":[{"id":"GHSA-c2w9-48qc-qpj4","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.","status":"published","published":"2018-07-13T15:16:54Z","modified":"2024-09-03T21:23:15Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high"},{"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","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:38:00.257632Z"}],"nvd":[{"id":"CVE-2017-2809","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.","status":"published","published":"2017-09-14T19:29:00.347Z","modified":"2026-06-17T01:16:54.41Z","cvss":[{"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","level":"high","assessor":"secondary"},{"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","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:03:59.716532Z"}],"osv":[{"id":"CVE-2017-2809","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.","status":"published","published":"2017-09-14T19:29:00.347Z","modified":"2026-10-20T10:48:50.090110442Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:44:05.486486Z"},{"id":"GHSA-c2w9-48qc-qpj4","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.","status":"published","published":"2018-07-13T15:16:54Z","modified":"2024-09-03T21:31:12.314389Z","cvss":[{"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","level":"high"},{"version":"4.0","score":8.5,"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","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:44.571161Z"},{"id":"PYSEC-2017-5","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.","status":"published","published":"2017-09-14T19:29:00Z","modified":"2026-06-10T17:00:10.66768037Z","updated_at":"2026-11-02T15:52:51.645172Z"}]}}
