{"id":"CVE-2021-20180","aliases":["GHSA-fh5v-5f35-2rv2","PYSEC-2026-618"],"url":"https://o3.security/vulnerability/CVE-2021-20180","summary":"Insertion of Sensitive Information into Log File in ansible","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.","published":"2022-03-16T15:15:09.927Z","modified":"2026-08-07T17:27:59.698596Z","cvss":{"score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"ansible","fixedVersion":"2.8.19"},{"ecosystem":"PyPI","name":"ansible","fixedVersion":"2.9.18"}],"fix":{"url":"https://github.com/ansible/ansible/pull/73242","label":"ansible/ansible#73242"},"references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1915808"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20180"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73242"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73243"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.8.19/changelogs/CHANGELOG-v2.8.rst"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst"},{"type":"WEB","url":"https://github.com/ansible/ansible/tree/v2.7.18/lib/ansible/modules/source_control"},{"type":"WEB","url":"https://github.com/ansible/ansible/tree/v2.8.0a1/lib/ansible/modules/source_control"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T17:27:59.698596Z"}}