CVE-2021-20178Redhat Ansible
Medium 5.5
Follow: this CVE · Redhat · Redhat Ansible We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 29
- Auth required
- Yes
- Published
- May 26, 2021
- 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.
What to do
- Apply the vendor's security update for Ansible.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ansible |
< 2.9.18 |
2.9.18 |
pip install "ansible>=2.9.18" |
| PyPI | ansible |
< 2.9.18 |
2.9.18 |
pip install "ansible>=2.9.18" |
Per OSV / GitHub Advisories (GHSA-wv5p-gmmv-wh9v, PYSEC-2021-106). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible | < 2.9.18 |
| redhat | ansible_tower | 3.0 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
Official advisories
- ansible-14-14.6.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12447-1 · Nov 6, 2026 Critical
- ansible-13-13.7.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10944-1 · Jun 3, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- github.com
- github.com
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org