CVE-2021-20178
MEDIUM5.5EPSS 0.03%Insertion of Sensitive Information into Log File in ansible
Published: 6/1/2021Modified: 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 (3)
- Debian/ansiblefrom 0, < 2.10.7-1
- PyPI/ansiblefrom 0, < 2.9.18
- PyPI/ansiblefrom 0, < 2.9.18
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| 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 (18)
- ADVISORYhttps://github.com/advisories/GHSA-wv5p-gmmv-wh9v
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-20178
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-20178
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1914774
- WEBhttps://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes
- WEBhttps://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes,
- WEBhttps://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes%2C
- WEBhttps://github.com/ansible-collections/community.general/commit/1d0c5e2ba47724c31a18d7b08b9daf13df8829dc
- WEBhttps://github.com/ansible-collections/community.general/pull/1635
- WEBhttps://github.com/ansible-collections/community.general/pull/1635,
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-106.yaml
- WEBhttps://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUQ2QKAQA5OW2TY3ACZZMFIAJ2EQTG37
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIU7QZUV73U6ZQ65VJWSFBTCALVXLH55
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/FUQ2QKAQA5OW2TY3ACZZMFIAJ2EQTG37
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/FUQ2QKAQA5OW2TY3ACZZMFIAJ2EQTG37/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/HIU7QZUV73U6ZQ65VJWSFBTCALVXLH55
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/HIU7QZUV73U6ZQ65VJWSFBTCALVXLH55/