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

EcosystemPackageFixed inAdvisory
Debian:12ansible2.10.7-1DEBIAN-CVE-2021-20180
Debian:13ansible2.10.7-1DEBIAN-CVE-2021-20180
Debian:14ansible2.10.7-1DEBIAN-CVE-2021-20180
PyPIansible2.8.19GHSA-fh5v-5f35-2rv2
PyPIansible2.9.18GHSA-fh5v-5f35-2rv2
PyPIansible2.8.19, 2.9.18PYSEC-2026-618
Ubuntu:24.04:LTSansibleno fix listedUBUNTU-CVE-2021-20180
Ubuntu:25.10ansibleno fix listedUBUNTU-CVE-2021-20180
Ubuntu:26.04:LTSansibleno fix listedUBUNTU-CVE-2021-20180
Ubuntu:26.10ansibleno fix listedUBUNTU-CVE-2021-20180

Affected products (as reported)

VendorProductVersions
n/a Ansible Fixed in ansible 2.9.18

Weakness: CWE-532

References