Live threats

All CVEs / Redhat

CVE-2021-20180Redhat Ansible

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.3%
probability of exploitation in 30 days · percentile 26
Auth required
Yes
Published
Mar 16, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-532
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI ansible ≥ 2.8.0a1 < 2.8.19 2.8.19 pip install "ansible>=2.8.19"
PyPI ansible ≥ 2.9.0b1 < 2.9.18 2.9.18 pip install "ansible>=2.9.18"
PyPI ansible ≥ 2.8.0a1 < 2.8.19 2.8.19 pip install "ansible>=2.8.19"
PyPI ansible ≥ 2.9.0b1 < 2.9.18 2.9.18 pip install "ansible>=2.9.18"

Per OSV / GitHub Advisories (GHSA-fh5v-5f35-2rv2, PYSEC-2026-618). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatansible< 2.9.18

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.