Advisory

GHSA-v735-2pp6-h86r

Also known as: CVE-2018-16859, PYSEC-2018-60

Summary

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-14 01:14 UTC
Modified
2024-09-04 19:46 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.7.0a1, fixed 2.7.3 (ecosystem)

Fixed versions

2.7.3

Fix

  • Fixed version 2.7.3
    pip install --upgrade ansible==2.7.3

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 2.5.12 (ecosystem)

Fixed versions

2.5.12

Fix

  • Fixed version 2.5.12
    pip install --upgrade ansible==2.5.12

ansible

PyPI · All systems

Affected

  • introduced 2.6.0a1, fixed 2.6.9 (ecosystem)

Fixed versions

2.6.9

Fix

  • Fixed version 2.6.9
    pip install --upgrade ansible==2.6.9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences