Vulnerability · Published Apr 1, 2021 · Assigned by redhat

CVE-2021-3447

Medium 5.5

In plain English

A medium-severity sensitive data in logs in ansible. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.3%top 73.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ansible2.10.7+merged+base+2.10.8+dfsg-1DEBIAN-CVE-2021-3447
Debian:13ansible2.10.7+merged+base+2.10.8+dfsg-1DEBIAN-CVE-2021-3447
Debian:14ansible2.10.7+merged+base+2.10.8+dfsg-1DEBIAN-CVE-2021-3447
PyPIansible1.2.2PYSEC-2021-107
Ubuntu:24.04:LTSansibleno fix listedUBUNTU-CVE-2021-3447
Ubuntu:25.10ansibleno fix listedUBUNTU-CVE-2021-3447
Ubuntu:26.04:LTSansibleno fix listedUBUNTU-CVE-2021-3447
Ubuntu:26.10ansibleno fix listedUBUNTU-CVE-2021-3447

Affected products (as reported)

VendorProductVersions
n/a ansible Red Hat Ansible Automation Platform 1.2.2, Ansible Tower 3.8.2

Weakness: CWE-532

References