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

EcosystemPackageFixed inAdvisory
Debian:12ansible2.10.7-1DEBIAN-CVE-2021-20178
Debian:13ansible2.10.7-1DEBIAN-CVE-2021-20178
Debian:14ansible2.10.7-1DEBIAN-CVE-2021-20178
PyPIansible2.9.18GHSA-wv5p-gmmv-wh9v
PyPIansible2.9.18PYSEC-2021-106
Ubuntu:24.04:LTSansibleno fix listedUBUNTU-CVE-2021-20178
Ubuntu:25.10ansibleno fix listedUBUNTU-CVE-2021-20178
Ubuntu:26.04:LTSansibleno fix listedUBUNTU-CVE-2021-20178
Ubuntu:26.10ansibleno fix listedUBUNTU-CVE-2021-20178

Affected products (as reported)

VendorProductVersions
n/a Ansible before 2.9.18

Weakness: CWE-532

References