high7.8
CVE-2017-2809
Code injection in ansible
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | ansible-vault | < 1.0.5 | 1.0.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ansible-Vault Project | Ansible-Vault | through 1.0.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.securityfocus.com/bid/100824
- https://github.com/tomoh1r/ansible-vault/blob/v1.0.5/CHANGES.txt
- https://github.com/tomoh1r/ansible-vault/commit/3f8f659ef443ab870bb19f95d43543470168ae04
- https://github.com/tomoh1r/ansible-vault/issues/4
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0305
- https://github.com/advisories/GHSA-c2w9-48qc-qpj4
- https://nvd.nist.gov/vuln/detail/CVE-2017-2809
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible-vault/PYSEC-2017-5.yaml
- https://web.archive.org/web/20171206173637/http://www.securityfocus.com/bid/100824