Vulnerability · Published May 26, 2021 · Assigned by redhat
CVE-2021-20178
Medium 5.5
In plain English
A medium-severity sensitive data in logs in Ansible. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.3%top 72.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible | 2.10.7-1 | DEBIAN-CVE-2021-20178 |
| Debian:13 | ansible | 2.10.7-1 | DEBIAN-CVE-2021-20178 |
| Debian:14 | ansible | 2.10.7-1 | DEBIAN-CVE-2021-20178 |
| PyPI | ansible | 2.9.18 | GHSA-wv5p-gmmv-wh9v |
| PyPI | ansible | 2.9.18 | PYSEC-2021-106 |
| Ubuntu:24.04:LTS | ansible | no fix listed | UBUNTU-CVE-2021-20178 |
| Ubuntu:25.10 | ansible | no fix listed | UBUNTU-CVE-2021-20178 |
| Ubuntu:26.04:LTS | ansible | no fix listed | UBUNTU-CVE-2021-20178 |
| Ubuntu:26.10 | ansible | no fix listed | UBUNTU-CVE-2021-20178 |
Affected products (as reported)
Weakness: CWE-532
References
- FEDORA-2021-e9478617ae vendor-advisory
- FEDORA-2021-9a0903469c vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1914774
- https://github.com/ansible-collections/community.general/pull/1635%2C
- https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes%2C
- [debian-lts-announce] 20231228 [SECURITY] [DLA 3695-1] ansible security update mailing-list