GHSA-v735-2pp6-h86r

Ansible Logs Passwords If PowerShell ScriptBlock is Enabled

At a glance

Published
Updated
CVE
CVE-2018-16859
Aliases
PYSEC-2018-60
CVSS_V3
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS_V4
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Description

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

PackageVersions
PyPI · ansibleintroduced 2.7.0a1, fixed 2.7.3
PyPI · ansibleintroduced 0, fixed 2.5.12
PyPI · ansibleintroduced 2.6.0a1, fixed 2.6.9

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database