CVE-2021-20180
MEDIUM5.5EPSS 0.04%Insertion of Sensitive Information into Log File in ansible
Published: 3/17/2022Modified: 4/28/2026
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 (2)
- Debian/ansiblefrom 0, < 2.10.7-1
- PyPI/ansible>= 2.8.0a1, < 2.8.19
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
References (10)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-20180
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-20180
- PATCHhttps://github.com/ansible/ansible
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1915808
- WEBhttps://github.com/ansible/ansible/blob/v2.8.19/changelogs/CHANGELOG-v2.8.rst
- WEBhttps://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst
- WEBhttps://github.com/ansible/ansible/pull/73242
- WEBhttps://github.com/ansible/ansible/pull/73243
- WEBhttps://github.com/ansible/ansible/tree/v2.7.18/lib/ansible/modules/source_control
- WEBhttps://github.com/ansible/ansible/tree/v2.8.0a1/lib/ansible/modules/source_control