CVE-2017-2809
HIGH 7.8CVSS 3.0Code injection in ansible
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
- 14 Sep 2017
- Last modified
- 17 Jun 2026
- Assigned by
- talos-cna@cisco.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-c2w9-48qc-qpj4PYSEC-2017-5
- Sources
- NVDJSONOSV GHSA-c2w9-48qc-qpj4JSONOSV PYSEC-2017-5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | talos-cna@cisco.com (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ansible-vault_project | ansible-vaultcpe:2.3:a:ansible-vault_project:ansible-vault:*:*:*:*:*:*:*:* |
<= 1.0.4 | |
| OSV | PyPI | ansible-vault | < 1.0.5 | 1.0.5 |
References
- http://www.securityfocus.com/bid/100824 · Third Party Advisory, VDB Entry, WEB
- https://github.com/tomoh1r/ansible-vault/blob/v1.0.5/CHANGES.txt · Third Party Advisory, WEB
- https://github.com/tomoh1r/ansible-vault/commit/3f8f659ef443ab870bb19f95d43543470168ae04 · Third Party Advisory, WEB, FIX
- https://github.com/tomoh1r/ansible-vault/issues/4 · Third Party Advisory, WEB, REPORT
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0305 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-2809 · ADVISORY
- https://github.com/advisories/GHSA-c2w9-48qc-qpj4 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible-vault/PYSEC-2017-5.yaml · WEB
- https://github.com/tomoh1r/ansible-vault · PACKAGE
- https://web.archive.org/web/20171206173637/http://www.securityfocus.com/bid/100824 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 14 Sep 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 Sep 2017)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Jul 2018)