CVE-2021-20191
CVE-2021-20191 is a medium-severity vulnerability in Redhat Ansible with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-532.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- CVSS v2: 2.1
- EPSS exploit prediction: 0% (27th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-532
- Affected product: Redhat Ansible
- Published:
- Last modified:
Description
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. Versions before ansible 2.9.18 are affected.
Frequently asked questions
- What is CVE-2021-20191?
- 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. Versions before ansible 2.9.18 are affected.
- How severe is CVE-2021-20191?
- CVE-2021-20191 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2021-20191 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (27th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-20191?
- CVE-2021-20191 primarily affects Redhat Ansible. In total, 8 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-20191?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-20191 published?
- CVE-2021-20191 was published on 2021-05-26 and last updated on 2026-06-17.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1916813
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
Affected products (8)
- cpe:2.3:a:oracle:virtualization:4.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible_tower:3.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:cisco_nx-os_collection:*:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:community_general_collection:*:*:*:*:*:ansible:*:*
- cpe:2.3:a:redhat:community_network_collection:*:*:*:*:*:ansible:*:*
- cpe:2.3:a:redhat:docker_community_collection:*:*:*:*:*:ansible:*:*
- cpe:2.3:a:redhat:google_cloud_platform_ansible_collection:1.0.2:*:*:*:*:*:*:*
More vulnerabilities in Redhat Ansible
- CVE-2014-4657 — Critical (CVSS 9.8): The safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote…
- CVE-2014-4678 — Critical (CVSS 9.8): The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote…
- CVE-2014-4967 — Critical (CVSS 9.8): Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote attackers to execute arbitrary code by…
- CVE-2014-4966 — Critical (CVSS 9.8): Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote…
- CVE-2017-7550 — Critical (CVSS 9.8): A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the…
- CVE-2014-3498 — High (CVSS 8.8): The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands.
All CVEs affecting Redhat Ansible →
Other CWE-532 (Insertion of Sensitive Information into Log File) vulnerabilities
- CVE-2022-36407 — Critical (CVSS 9.9): Insertion of Sensitive Information into Log File vulnerability in Hitachi Virtual Storage Platform, Hitachi Virtual…
- CVE-2023-40029 — Critical (CVSS 9.9): Argo CD is a declarative continuous deployment for Kubernetes. Argo CD Cluster secrets might be managed declaratively…
- CVE-2021-32724 — Critical (CVSS 9.9): check-spelling is a github action which provides CI spell checking. In affected versions and for a repository with the…
- CVE-2026-49200 — Critical (CVSS 9.8): The acer_cgi.log file in the device firmware is accessible without authentication via the web interface. This file…
- CVE-2026-22778 — Critical (CVSS 9.8): vLLM is an inference and serving engine for large language models (LLMs). From 0.8.3 to before 0.14.1, when an invalid…
- CVE-2025-11008 — Critical (CVSS 9.8): The CE21 Suite plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and…
Browse all CWE-532 (Insertion of Sensitive Information into Log File) vulnerabilities →