CVE-2021-20178 in Fedoraproject Fedora and 2 more products
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.
Affects 3 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 32 33 |
| Redhat | Ansible | < 2.9.18 |
| Redhat | Ansible Tower | 3.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-20178 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-078517-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Published | 2021-05-26 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-532: CWE-532
Related attack patterns (CAPEC)
CAPEC-215 Fuzzing for application mapping via CWE-532
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the Ansible module bitbucket_pipeline_variable allows credentials to be disclosed in console logs, posing a risk to confidentiality.
An attacker can exploit this vulnerability by accessing the console logs where the credentials are exposed, potentially leading to unauthorized access to Bitbucket pipelines.
Questions
What is CVE-2021-20178?
A vulnerability in the Ansible module bitbucket_pipeline_variable allows credentials to be disclosed in console logs, posing a risk to confidentiality.
What is the CVSS score for CVE-2021-20178?
CVE-2021-20178 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.3%.
Is CVE-2021-20178 actively exploited?
No confirmed active exploitation of CVE-2021-20178 as of 2026-09-25.
How do I remediate CVE-2021-20178?
Priority: MEDIUM. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=1914774 PSIRT: [email protected]
What systems are affected by CVE-2021-20178?
CVE-2021-20178 affects Fedoraproject Fedora; Redhat Ansible, Ansible Tower.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.