ADVISORIES

GitHub Advisory Database

GHSA-cqmr-rcpr-cxh3

Ansible password prompts could expose passwords

Details

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 packages

EcosystemPackageAffected versions
PyPIansible
From 2.8.0 before 2.8.4 (fixed in 2.8.4)
PyPIansible
From 2.7.0 before 2.7.13 (fixed in 2.7.13)
PyPIansible
From 2.6.0 before 2.6.19 (fixed in 2.6.19)

References