ADVISORIES

GitHub Advisory Database

GHSA-v735-2pp6-h86r

Ansible Logs Passwords If PowerShell ScriptBlock is Enabled

Details

Execution of Ansible playbooks on Windows platforms with PowerShell ScriptBlock logging and Module logging enabled can allow for 'become' passwords to appear in EventLogs in plaintext. A local user with administrator privileges on the machine can view these logs and discover the plaintext password. Ansible Engine 2.8 and older are believed to be vulnerable.

Affected packages

EcosystemPackageAffected versions
PyPIansible
From 2.7.0a1 before 2.7.3 (fixed in 2.7.3)
PyPIansible
All versions before 2.5.12 (fixed in 2.5.12)
PyPIansible
From 2.6.0a1 before 2.6.9 (fixed in 2.6.9)

References