{"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-04-10T04:29:16.746365Z","published":"2021-04-29T16:15:09.737Z","related":["MGASA-2021-0131","MGASA-2021-0132","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"],"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":"0"},{"last_affected":"4455e60166a8271771d96c24f47b6714130d200f"},{"introduced":"0"},{"last_affected":"f67c13f8f10a6f8e0343a3c3d4e8ad7737ed28ab"},{"introduced":"0"},{"last_affected":"02572cb9ec94462261c035b33de506e4e505b3ca"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.9.18"},{"introduced":"0"},{"last_affected":"1.2"},{"introduced":"0"},{"last_affected":"2.9"}]}}],"versions":["0.0.1","0.01","0.3","0.7","stable-2.9-branchpoint","v1.0","v1.1","v1.2","v1.4.0","v1.6.0","v2.0.0-0.1.alpha1","v2.0.0-0.2.alpha2","v2.0.0-0.3.beta1","v2.0.0-0.4.beta2","v2.0.0-0.5.beta3","v2.6.0a1","v2.7.0.a1","v2.8.0a1","v2.9.0","v2.9.0b1","v2.9.0rc1","v2.9.0rc2","v2.9.0rc3","v2.9.0rc4","v2.9.0rc5","v2.9.1","v2.9.10","v2.9.11","v2.9.12","v2.9.13","v2.9.14","v2.9.14rc1","v2.9.15","v2.9.15rc1","v2.9.16","v2.9.16rc1","v2.9.17","v2.9.17rc1","v2.9.18","v2.9.18rc1","v2.9.2","v2.9.3","v2.9.4","v2.9.5","v2.9.6","v2.9.7","v2.9.8","v2.9.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20228.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"2.0"}]},{"events":[{"introduced":"0"},{"last_affected":"3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}