First published: Fri Jan 15 2021(Updated: )
A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.
Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/ansible | <0:2.9.18-1.el7ae | 0:2.9.18-1.el7ae |
redhat/ansible | <0:2.9.18-1.el8ae | 0:2.9.18-1.el8ae |
Oracle Virtualization | =4.0 | |
Redhat Ansible | <2.8.19 | |
Redhat Ansible | >=2.9.0<2.9.18 | |
Redhat Ansible | >=2.10.0<2.10.7 | |
Redhat Ansible Tower | =3.0 | |
Redhat Cisco Nx-os Collection | <1.4.0 | |
Redhat Community General Collection | <1.3.6 | |
Redhat Community General Collection | >=2.0.0<2.0.1 | |
Redhat Community Network Collection | <1.3.2 | |
Redhat Community Network Collection | >=2.0.0<2.0.1 | |
Redhat Docker Community Collection | <1.2.2 | |
Redhat Google Cloud Platform Ansible Collection | =1.0.2 | |
redhat/ansible | <2.9.18 | 2.9.18 |
pip/ansible | >=2.10.0a1<2.10.7 | 2.10.7 |
pip/ansible | <2.8.19rc1 | 2.8.19rc1 |
pip/ansible | >=2.9.0a1<2.9.18rc1 | 2.9.18rc1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
CVE-2021-20191 is a vulnerability in Ansible that allows credentials, such as secrets, to be disclosed in the console log.
An attacker can take advantage of CVE-2021-20191 to steal credentials by accessing the disclosed information in the console log.
CVE-2021-20191 has a severity rating of 5.5 (Medium).
Ansible versions 2.10.0 to 2.10.7, 2.8.19, and 2.9.0 to 2.9.18 are affected by CVE-2021-20191.
To fix CVE-2021-20191, you should update Ansible to version 2.10.7, 2.8.19, or 2.9.18, depending on your current version.