Advisory

GHSA-4r65-35qq-ch8j

Also known as: CVE-2021-3620, PYSEC-2022-164

Summary

Ansible discloses sensitive information in traceback error message

Details

Ansible is an IT automation system that handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. A flaw was found in Ansible Engine's ansible-connection module where sensitive information, such as the Ansible user credentials, is disclosed by default in the traceback error message when Ansible receives an unexpected response from set_options. The highest threat from this vulnerability is confidentiality.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-03-04 00:00 UTC
Modified
2026-02-22 22:55 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 2.9.27 (ecosystem)

Fixed versions

2.9.27

Fix

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

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