ADVISORIES

GitHub Advisory Database

GHSA-jwcc-j78w-j73w

Ansible exposes sensitive data in log files and on the terminal

Details

Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.

Affected packages

EcosystemPackageAffected versions
PyPIansible
From 2.5.0a1 before 2.5.5 (fixed in 2.5.5)
PyPIansible
From 2.4.0.0 before 2.4.5.0 (fixed in 2.4.5.0)

References