CVE-2021-3447: Medium severity redhat ansible vulnerability
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 nolog feature. An attacker can take advantage of this information to steal those credentials, provided they have access to the log files containing them. The highest threat from this vulnerability is to data confidentiality.
Other sources
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 nolog 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/ansibleto a version that resolves this vulnerability.Fixed in 0:2.9.20-1.el7ae - Upgrade
Upgrade
redhat/ansibleto a version that resolves this vulnerability.Fixed in 0:2.9.20-1.el8ae - Upgrade
Upgrade
redhat/redhat-virtualization-hostto a version that resolves this vulnerability.Fixed in 0:4.4.7-20210715.1.el8_4 - Upgrade
Upgrade
redhat/ansibleto a version that resolves this vulnerability.Fixed in 0:2.9.21-1.el8ae - Upgrade
Upgrade
redhat/Red Hat Ansible Automation Platformto a version that resolves this vulnerability.Fixed in 1.2.2 - Upgrade
Upgrade
redhat/Ansible Towerto a version that resolves this vulnerability.Fixed in 3.8.2 - Upgrade
Upgrade
Red Hat Ansible Automation Platformto a version that resolves this vulnerability.Fixed in 1.2.2 - Upgrade
Upgrade
Ansible Towerto a version that resolves this vulnerability.Fixed in 3.8.2 - Configuration
Enable the no_log feature for module parameters that contain credentials/secrets so they are not logged in plain-text on managed nodes or exposed on the controller node in verbose mode.
Ansible modules no_log = enabled
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2021-3447?
CVE-2021-3447 is a vulnerability found in several ansible modules where parameters containing credentials, such as secrets, were being logged in plain-text.
What is the severity of CVE-2021-3447?
CVE-2021-3447 has a severity level of medium.
How does CVE-2021-3447 affect Red Hat Ansible Automation Platform?
Red Hat Ansible Automation Platform versions up to and exclusive to 1.2.2 are affected by CVE-2021-3447.
How can I fix CVE-2021-3447 in Ansible Tower?
CVE-2021-3447 can be fixed by updating Ansible Tower to version up to and exclusive to 3.8.2.
Are there any security advisories related to CVE-2021-3447?
Yes, you can find the security advisories related to CVE-2021-3447 at the following links: [access.redhat.com/errata/RHSA-2021:1079](https://access.redhat.com/errata/RHSA-2021:1079) and [bugzilla.redhat.com/show_bug.cgi?id=1939349](https://bugzilla.redhat.com/show_bug.cgi?id=1939349).