Advisory

GHSA-jwcc-j78w-j73w

Also known as: CVE-2018-10855, PYSEC-2018-42

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-10-10 17:23 UTC
Modified
2024-11-25 05:25 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.5.0a1, fixed 2.5.5 (ecosystem)

Fixed versions

2.5.5

Fix

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

ansible

PyPI · All systems

Affected

  • introduced 2.4.0.0, fixed 2.4.5.0 (ecosystem)

Fixed versions

2.4.5.0

Fix

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

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