Advisory

GHSA-8f4m-hccc-8qph

Also known as: CVE-2021-20191, PYSEC-2021-124

Summary

Insertion of Sensitive Information into Log File in ansible

Details

A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-06-01 21:38 UTC
Modified
2024-09-10 22:06 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.9.0a1, fixed 2.9.18rc1 (ecosystem)

Fixed versions

2.9.18rc1

Fix

  • Fixed version 2.9.18rc1
    pip install --upgrade ansible==2.9.18rc1

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 2.8.19rc1 (ecosystem)

Fixed versions

2.8.19rc1

Fix

  • Fixed version 2.8.19rc1
    pip install --upgrade ansible==2.8.19rc1

ansible

PyPI · All systems

Affected

  • introduced 2.10.0a1, fixed 2.10.7 (ecosystem)

Fixed versions

2.10.7

Fix

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

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