PYSEC-2019-145: Medium severity Ansible Ansible vulnerability
ansible-playbook -k and ansible cli tools, all versions 2.8.x before 2.8.4, all 2.7.x before 2.7.13 and all 2.6.x before 2.6.19, prompt passwords by expanding them from templates as they could contain special characters. Passwords should be wrapped to prevent templates trigger and exposing them.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ansible-playbook and Ansible CLI toolsto a version that resolves this vulnerability.Fixed in 2.8.4 - Upgrade
Upgrade
ansible-playbook and Ansible CLI toolsto a version that resolves this vulnerability.Fixed in 2.7.13 - Upgrade
Upgrade
ansible-playbook and Ansible CLI toolsto a version that resolves this vulnerability.Fixed in 2.6.19 - Configuration
Wrap passwords when prompting them so password contents cannot trigger template expansion and be exposed.
ansible-playbook and Ansible CLI tools