Advisory

GHSA-h653-95qw-h2mp

Also known as: CVE-2019-14858, PYSEC-2019-171

Summary

Ansible leaks sensitive information to logs when told not to

Details

A vulnerability was found in Ansible engine 2.x up to 2.8 and Ansible tower 3.x up to 3.5. When a module has an argument_spec with sub parameters marked as no_log, passing an invalid parameter name to the module will cause the task to fail before the no_log options in the sub parameters are processed. As a result, data in the sub parameter fields will not be masked and will be displayed if Ansible is run with increased verbosity and present in the module invocation arguments for the task.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 16:58 UTC
Modified
2024-09-10 22:06 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.9.0a1, fixed 2.9.0rc4 (ecosystem)

Fixed versions

2.9.0rc4

Fix

  • Fixed version 2.9.0rc4
    pip install --upgrade ansible==2.9.0rc4

ansible

PyPI · All systems

Affected

  • introduced 2.8.0a1, fixed 2.8.6 (ecosystem)

Fixed versions

2.8.6

Fix

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

ansible

PyPI · All systems

Affected

  • introduced 2.7.0a1, fixed 2.7.14 (ecosystem)

Fixed versions

2.7.14

Fix

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

ansible

PyPI · All systems

Affected

  • introduced 2.0, fixed 2.6.20 (ecosystem)

Fixed versions

2.6.20

Fix

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

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