Advisory

PYSEC-2018-60

Also known as: CVE-2018-16859, GHSA-v735-2pp6-h86r

Summary

The record has no summary.

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

Not rated by the source.

Dates

Published
2018-11-29 18:29 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.7.0, fixed 2.7.4, introduced 2.7.5, fixed 2.8.1, introduced 0, fixed 2.5.13, introduced 2.6.0, fixed 2.6.10 (ecosystem)

Fixed versions

2.7.4, 2.8.1, 2.5.13, 2.6.10

Fix

  • Fixed version 2.7.4
    pip install --upgrade ansible==2.7.4
  • Fixed version 2.8.1
    pip install --upgrade ansible==2.8.1
  • Fixed version 2.5.13
    pip install --upgrade ansible==2.5.13
  • Fixed version 2.6.10
    pip install --upgrade ansible==2.6.10

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: PyPA Advisory Database · CC BY 4.0

Sources & licences