{"schema_version":"1.9.0","id":"CVE-2021-20178","published":"2021-05-26T12:15:18.897Z","modified":"2026-09-04T11:45:06.442464478Z","aliases":["GHSA-wv5p-gmmv-wh9v","PYSEC-2021-106"],"related":["SUSE-SU-2021:2121-1","SUSE-SU-2022:3178-1","SUSE-SU-2024:0196-1","openSUSE-SU-2022:0081-1","openSUSE-SU-2024:10615-1","openSUSE-SU-2024:14244-1","openSUSE-SU-2024:14536-1","openSUSE-SU-2025:15605-1","openSUSE-SU-2025:15753-1","openSUSE-SU-2026:10944-1"],"details":"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/ansible/ansible","events":[{"introduced":"0"},{"fixed":"4455e60166a8271771d96c24f47b6714130d200f"}],"database_specific":{"cpe":"cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.9.18"}],"source":"CPE_RANGE"}}],"versions":["v2.9.18rc1","v2.9.17","v2.9.17rc1","v2.9.16","v2.9.16rc1","v2.9.15","v2.9.15rc1","v2.9.14","v2.9.14rc1","v2.9.13","v2.9.12","v2.9.11","v2.9.10","v2.9.9","v2.9.8","v2.9.7","v2.9.6","v2.9.5","v2.9.4","v2.9.3","v2.9.2","v2.9.1","v2.9.0","v2.9.0rc5","v2.9.0rc4","v2.9.0rc3","v2.9.0rc2","v2.9.0rc1","v2.9.0b1","stable-2.9-branchpoint","v2.8.0a1","v2.7.0.a1","v2.6.0a1","v2.0.0-0.5.beta3","v2.0.0-0.4.beta2","v2.0.0-0.3.beta1","v2.0.0-0.2.alpha2","v2.0.0-0.1.alpha1","v1.6.0","v1.4.0","v1.2","v1.1","v1.0","0.7","0.3","0.0.1","0.01"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20178.json"}}],"references":[{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes%2C"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUQ2QKAQA5OW2TY3ACZZMFIAJ2EQTG37/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIU7QZUV73U6ZQ65VJWSFBTCALVXLH55/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1914774"},{"type":"FIX","url":"https://github.com/ansible-collections/community.general/pull/1635%2C"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"32"},{"last_affected":"32"},{"introduced":"33"},{"last_affected":"33"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora"},{"cpes":["cpe:2.3:a:redhat:ansible_tower:3.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"3.0"},{"last_affected":"3.0"}],"source":"CPE_STRING","vendor_product":"redhat:ansible_tower"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}