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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible | 2.10.7+merged+base+2.10.8+dfsg-1 | DEBIAN-CVE-2021-3447 |
| Debian:13 | ansible | 2.10.7+merged+base+2.10.8+dfsg-1 | DEBIAN-CVE-2021-3447 |
| Debian:14 | ansible | 2.10.7+merged+base+2.10.8+dfsg-1 | DEBIAN-CVE-2021-3447 |
| PyPI | ansible | 1.2.2 | PYSEC-2021-107 |
| Ubuntu:24.04:LTS | ansible | no fix listed | UBUNTU-CVE-2021-3447 |
| Ubuntu:25.10 | ansible | no fix listed | UBUNTU-CVE-2021-3447 |
| Ubuntu:26.04:LTS | ansible | no fix listed | UBUNTU-CVE-2021-3447 |
| Ubuntu:26.10 | ansible | no fix listed | UBUNTU-CVE-2021-3447 |
Affected products (as reported)
Weakness: CWE-532
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1939349
- FEDORA-2021-0414eb891b vendor-advisory
- FEDORA-2021-c1116fb75e vendor-advisory
- FEDORA-2021-4a17f0225d vendor-advisory
- [debian-lts-announce] 20231228 [SECURITY] [DLA 3695-1] ansible security update mailing-list