Vulnerability · Published Mar 16, 2022 · Assigned by redhat
CVE-2021-20180
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 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.3%top 75.5% 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-20180 |
| Debian:13 | ansible | 2.10.7-1 | DEBIAN-CVE-2021-20180 |
| Debian:14 | ansible | 2.10.7-1 | DEBIAN-CVE-2021-20180 |
| PyPI | ansible | 2.8.19 | GHSA-fh5v-5f35-2rv2 |
| PyPI | ansible | 2.9.18 | GHSA-fh5v-5f35-2rv2 |
| PyPI | ansible | 2.8.19, 2.9.18 | PYSEC-2026-618 |
| Ubuntu:24.04:LTS | ansible | no fix listed | UBUNTU-CVE-2021-20180 |
| Ubuntu:25.10 | ansible | no fix listed | UBUNTU-CVE-2021-20180 |
| Ubuntu:26.04:LTS | ansible | no fix listed | UBUNTU-CVE-2021-20180 |
| Ubuntu:26.10 | ansible | no fix listed | UBUNTU-CVE-2021-20180 |
Affected products (as reported)
Weakness: CWE-532
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1915808 x_refsource_MISC