{"id":"GHSA-c2w9-48qc-qpj4","summary":"Code injection in ansible","details":"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.","aliases":["CVE-2017-2809","PYSEC-2017-5"],"modified":"2024-09-03T21:31:12.314389Z","published":"2018-07-13T15:16:54Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:30:09Z","nvd_published_at":"2017-09-14T19:29:00Z","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2809"},{"type":"WEB","url":"https://github.com/tomoh1r/ansible-vault/issues/4"},{"type":"WEB","url":"https://github.com/tomoh1r/ansible-vault/commit/3f8f659ef443ab870bb19f95d43543470168ae04"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c2w9-48qc-qpj4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible-vault/PYSEC-2017-5.yaml"},{"type":"PACKAGE","url":"https://github.com/tomoh1r/ansible-vault"},{"type":"WEB","url":"https://github.com/tomoh1r/ansible-vault/blob/v1.0.5/CHANGES.txt"},{"type":"WEB","url":"https://web.archive.org/web/20171206173637/http://www.securityfocus.com/bid/100824"},{"type":"WEB","url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0305"}],"affected":[{"package":{"name":"ansible-vault","ecosystem":"PyPI","purl":"pkg:pypi/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-c2w9-48qc-qpj4/GHSA-c2w9-48qc-qpj4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}