Advisory

GHSA-5rrg-rr89-x9mv

Also known as: CVE-2021-20228, PYSEC-2021-1

Summary

Ansible Exposes Sensitive Information

Details

A flaw was found in the Ansible Engine prior to 2.10.6rc1, 2.9.18rc1, and 2.8.19rc1, where sensitive info is not masked by default and is not protected by the no_log feature when using the sub-option feature of the basic.py module. This flaw allows an attacker to obtain sensitive information. The highest threat from this vulnerability is to confidentiality.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-25 19:22 UTC
Modified
2024-09-09 21:20 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.10.0a1, fixed 2.10.6rc1 (ecosystem)

Fixed versions

2.10.6rc1

Fix

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

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

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