—
PYSEC-2017-5
Quick fix
PYSEC-2017-5 — ansible-vault: upgrade to the fixed version with the command below.
pip install --upgrade 'ansible-vault>=3f8f659ef443ab870bb19f95d43543470168ae04'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/ansible-vault
Introduced in:
0Fixed in: 3f8f659ef443ab870bb19f95d43543470168ae04Fix
pip install --upgrade 'ansible-vault>=3f8f659ef443ab870bb19f95d43543470168ae04'References
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0305[WEB]
- https://github.com/tomoh1r/ansible-vault/issues/4[REPORT]
- https://github.com/tomoh1r/ansible-vault/commit/3f8f659ef443ab870bb19f95d43543470168ae04[FIX]
- https://github.com/tomoh1r/ansible-vault/blob/v1.0.5/CHANGES.txt[WEB]
- http://www.securityfocus.com/bid/100824[WEB]
- https://github.com/advisories/GHSA-c2w9-48qc-qpj4[ADVISORY]