CVE-2021-20178: A flaw was found in ansible module where credentials are disclosed in the console log by default and not prote
CVE-2021-20178 is a medium-severity flaw (CVSS 5.5) affecting ansible, ansible tower, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.
Why this priority
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 73%) |
| CISA exploited list | No |
| Weakness | CWE-532 |
| Published | 2021-05-26 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-20178?
ansible: upgrade to 2.9.18; ansible tower: downgrade or apply the listed mitigation; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-20178 being exploited?
CVE-2021-20178 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-20178 affect?
CVE-2021-20178 affects ansible, ansible tower, fedora. Severity is medium (CVSS 5.5). A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pi
How urgent is CVE-2021-20178?
Priority 31/100. On your watchlist
Software pages
Ansible vulnerabilities · Bitbucket vulnerabilities
Related CVEs
- CVE-2024-0690 MEDIUM 5.0 UPGRADE MITIGATE An information disclosure flaw was found in ansible-core due to a failure to respect the ANSIBLE_NO_LOG config
- CVE-2023-5764 HIGH 7.1 UPGRADE DOWNGRADE A template injection flaw was found in Ansible where a user's controller internal templating operations may re
- CVE-2023-32983 MEDIUM 5.3 UPGRADE Jenkins Ansible Plugin 204.v8191fd551eb_f and earlier does not mask extra variables displayed on the configura
- CVE-2023-32982 MEDIUM 4.3 UPGRADE Jenkins Ansible Plugin 204.v8191fd551eb_f and earlier stores extra variables unencrypted in job config.xml fil
- CVE-2022-3697 HIGH 7.5 UPGRADE UPGRADE A flaw was found in Ansible in the amazon.aws collection when using the tower_callback parameter from the amaz