CVE-2021-20191: Medium severity Oracle Virtualization vulnerability

Published Jan 15, 2021
·
Updated

A few different modules leak sensitive data such as secret values. This could lead in disclosing those credentials for every user which has access to the output of playbook execution.

Other sources

A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by nolog 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.

Affected Software

34 affected componentsFixes available
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
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
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 Ansible<1.3.6
redhat Community General Collection Ansible>=2.0.0<2.0.1
redhat Community Network Collection Ansible<1.3.2
redhat Community Network Collection Ansible>=2.0.0<2.0.1
redhat Docker Community Collection Ansible<1.2.2
redhat Google Cloud Platform Ansible Collection=1.0.2
alpine/ansible<2.8.19-r0
2.8.19-r0
alpine/ansible>=2.9.0<2.9.18-r0
2.9.18-r0
alpine/ansible>=2.9.0<2.9.18-r0
2.9.18-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0
alpine/ansible>=2.10.0<2.10.7-r0
2.10.7-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/ansible to a version that resolves this vulnerability.

    Fixed in 0:2.9.18-1.el7ae
  2. Upgrade

    Upgrade redhat/ansible to a version that resolves this vulnerability.

    Fixed in 0:2.9.18-1.el8ae
  3. Upgrade

    Upgrade redhat/ansible to a version that resolves this vulnerability.

    Fixed in 2.9.18
  4. Upgrade

    Upgrade pip/ansible to a version that resolves this vulnerability.

    Fixed in 2.10.7
  5. Upgrade

    Upgrade pip/ansible to a version that resolves this vulnerability.

    Fixed in 2.8.19rc1
  6. Upgrade

    Upgrade pip/ansible to a version that resolves this vulnerability.

    Fixed in 2.9.18rc1
  7. Upgrade

    Upgrade alpine/ansible to a version that resolves this vulnerability.

    Fixed in 2.8.19-r0
  8. Upgrade

    Upgrade alpine/ansible to a version that resolves this vulnerability.

    Fixed in 2.9.18-r0
  9. Upgrade

    Upgrade alpine/ansible to a version that resolves this vulnerability.

    Fixed in 2.10.7-r0
  10. Upgrade

    Upgrade ansible to a version that resolves this vulnerability.

    Fixed in 2.9.18

Event History

Jan 15, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 26, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Jun 1, 2021
Advisory Published
09:38 PM
Nov 21, 2021
Data Sourced
via Red Hat·08:39 PM
DescriptionSeverityAffected Software
Dec 28, 2023
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software
Updated
07:15 PM
Affected Software
Jan 6, 2024
Advisory Published
05:05 AM
Aug 3, 2024
Data Sourced
via MITRE·05:30 PM
DescriptionWeakness
Sep 10, 2024
Data Sourced
via GitHub·09:36 PM
DescriptionSeverityWeaknessAffected Software
Updated
via GitHub·09:36 PM
Affected Software
Nov 17, 2026
Updated
via OSV·06:30 AM
Affected Software
Dec 3, 2026
Updated
via OSV·11:32 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2021-20191?

CVE-2021-20191 is a vulnerability in Ansible that allows credentials, such as secrets, to be disclosed in the console log.

2

How can an attacker exploit CVE-2021-20191?

An attacker can take advantage of CVE-2021-20191 to steal credentials by accessing the disclosed information in the console log.

3

What is the severity of CVE-2021-20191?

CVE-2021-20191 has a severity rating of 5.5 (Medium).

4

Which software versions are affected by CVE-2021-20191?

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.

5

How can I fix 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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203