CVE-2021-3447: PYSEC-2021-107 - A flaw was found in several ansible modules, where parameters containing credentials, such as…

CVE-2021-3447 · Severity: info · Published 2021-04-01

A flaw was found in several ansible modules, where parameters containing credentials, such as secrets, were being logged in plain-text on managed nodes, as well as being made visible on the controller node when run in verbose mode. These parameters were not protected by the no_log feature. An attacker can take advantage of this information to steal those credentials, provided when they have access to the log files containing them. The highest threat from this vulnerability is to data confidentiality. This flaw affects Red Hat Ansible Automation Platform in versions before 1.2.2 and Ansible Tower in versions before 3.8.2.

Technologies: ansible (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2021-3447 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-3447 being exploited in the wild.
How severe is CVE-2021-3447?
Informational severity, published 1 April 2021.
Which products and versions are affected?
ansible (PyPI) ECOSYSTEM:introduced=0,fixed=1.2.2.
Is there a fix for CVE-2021-3447?
Yes. ansible (PyPI): upgrade to 1.2.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-3447?
Check whether you run ansible (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ansible (PyPI): upgrade to 1.2.2 or later
    pip install "ansible>=1.2.2"

Affected products

  • ansible (PyPI) ECOSYSTEM:introduced=0,fixed=1.2.2

Identifiers

  • CVE-2021-3447
  • PYSEC-2021-107

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.