{"id":"CVE-2021-20228","details":"A flaw was found in the Ansible Engine 2.9.18, where sensitive info is not masked by default and is not protected by the no_log feature when using the sub-option feature of the basic.py module. This flaw allows an attacker to obtain sensitive information. The highest threat from this vulnerability is to confidentiality.","aliases":["GHSA-5rrg-rr89-x9mv","PYSEC-2021-1"],"modified":"2026-08-26T11:30:20.936706578Z","published":"2021-04-29T16:15:09.737Z","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"],"database_specific":{"unresolved_ranges":[{"vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"10.0"},{"last_affected":"10.0"}],"source":"CPE_STRING"},{"source":"CPE_STRING","vendor_product":"redhat:ansible_automation_platform","cpes":["cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"1.2"},{"last_affected":"1.2"}]},{"extracted_events":[{"introduced":"2.0"},{"last_affected":"2.0"}],"source":"CPE_STRING","vendor_product":"redhat:ansible_engine","cpes":["cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:*"]},{"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"}]},"references":[{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1925002"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/73487"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ansible/ansible","events":[{"introduced":"4455e60166a8271771d96c24f47b6714130d200f"},{"last_affected":"02572cb9ec94462261c035b33de506e4e505b3ca"}],"database_specific":{"cpe":["cpe:2.3:a:redhat:ansible_engine:2.9.18:*:*:*:*:*:*:*","cpe:2.3:a:redhat:ansible_engine:2.9:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"2.9.18"},{"last_affected":"2.9.18"},{"introduced":"2.9"},{"last_affected":"2.9"}],"source":"CPE_STRING"}}],"versions":["2.9","2.9.18"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-20228.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}