{"schema_version":"1.8.0","id":"CVE-2021-20191","published":"2021-05-26T21:15:08.193Z","modified":"2026-08-07T11:48:38.362269777Z","aliases":["GHSA-8f4m-hccc-8qph","PYSEC-2021-124"],"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. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality. Versions before ansible 2.9.18 are affected.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ansible-collections/cisco.nxos","events":[{"introduced":"0"},{"fixed":"73ac6a0094de7e00e186fcea1f493d3b08de5357"}],"database_specific":{"cpe":"cpe:2.3:a:redhat:cisco_nx-os_collection:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.4.0"}],"source":"CPE_RANGE"}}],"versions":["1.3.1","1.3.0","1.2.0","1.1.0","1.0.2","1.0.1","1.0.0","0.0.3","0.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20191.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ansible-collections/community.docker","events":[{"introduced":"0"},{"fixed":"bbf8373f6cb912d5006f44d298a80aa8f5337cb2"}],"database_specific":{"cpe":"cpe:2.3:a:redhat:docker_community_collection:*:*:*:*:*:ansible:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.2.2"}],"source":"CPE_RANGE"}}],"versions":["1.2.1","1.2.0","1.1.0","1.0.1","1.0.0","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20191.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ansible-collections/community.general","events":[{"introduced":"0"},{"fixed":"b81ba747baf8b2361070d9877eb14011130339bc"},{"introduced":"dc4222df0d8c043224433ff832f226874d1b9f90"},{"fixed":"974997594fc453ddee3b374807cb654a98bd2f28"}],"database_specific":{"cpe":"cpe:2.3:a:redhat:community_general_collection:*:*:*:*:*:ansible:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.3.6"},{"introduced":"2.0.0"},{"fixed":"2.0.1"}],"source":"CPE_RANGE"}}],"versions":["2.0.0","1.3.5","1.3.4","1.3.3","1.3.2","1.3.1","1.3.0","1.2.0","1.1.0","1.0.0","0.2.0","0.1.4","0.1.3","0.1.2","0.1.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20191.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ansible-collections/community.network","events":[{"introduced":"0"},{"fixed":"0202310d6211c2579bdcab7468939b11e8f54905"},{"introduced":"df2a2ed444963296c05ded39003f1d0dd9e3f79a"},{"fixed":"24b882710084c11402a1e9185f4fdf59f203153a"}],"database_specific":{"cpe":"cpe:2.3:a:redhat:community_network_collection:*:*:*:*:*:ansible:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.3.2"},{"introduced":"2.0.0"},{"fixed":"2.0.1"}],"source":"CPE_RANGE"}}],"versions":["2.0.0","1.3.1","1.3.0","1.2.0","1.1.0","1.0.0","0.2.0","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20191.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ansible-collections/google.cloud","events":[{"introduced":"86fbbf7a2c76068d20dcd8e8ff4b4084eb3fb4bb"},{"last_affected":"86fbbf7a2c76068d20dcd8e8ff4b4084eb3fb4bb"}],"database_specific":{"cpe":"cpe:2.3:a:redhat:google_cloud_platform_ansible_collection:1.0.2:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.0.2"},{"last_affected":"1.0.2"}],"source":"CPE_STRING"}}],"versions":["1.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20191.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ansible/ansible","events":[{"introduced":"0"},{"fixed":"1205ad6a1a108376654d128ac903049168bf3d35"},{"introduced":"24325a05dfb9104d6d4ec8b488b89e07c2e6d376"},{"fixed":"4455e60166a8271771d96c24f47b6714130d200f"},{"introduced":"a6ed9551320b5f9d2a15a69e4c8b22ee31f0f778"},{"fixed":"4226af2718f3d478bed2d07091692d65604b3d71"}],"database_specific":{"cpe":"cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.8.19"},{"introduced":"2.9.0"},{"fixed":"2.9.18"},{"introduced":"2.10.0"},{"fixed":"2.10.7"}],"source":"CPE_RANGE"}}],"versions":["v2.10.7rc1","v2.10.6","v2.8.19rc1","v2.9.18rc1","v2.10.6rc1","v2.9.17","v2.10.5","v2.10.5rc1","v2.9.17rc1","v2.8.18","v2.9.16","v2.10.4","v2.8.18rc1","v2.9.16rc1","v2.10.4rc1","v2.8.17","v2.9.15","v2.10.3","v2.8.17rc1","v2.9.15rc1","v2.10.3rc1","v2.10.2","v2.9.14","v2.8.16","v2.8.16rc1","v2.9.14rc1","v2.10.2rc1","v2.10.1","v2.10.1rc3","v2.10.1rc2","v2.8.15","v2.9.13","v2.10.0","v2.9.12","v2.8.14","v2.9.11","v2.8.13","v2.9.10","v2.9.9","v2.8.12","v2.9.8","v2.9.7","v2.8.11","v2.8.10","v2.9.6","v2.8.9","v2.9.5","v2.9.4","v2.9.3","v2.8.8","v2.9.2","v2.9.1","v2.8.7","v2.9.0","v2.8.6","v2.8.5","v2.8.4","v2.8.3","v2.8.2","v2.8.1","v2.8.0","v2.8.0rc3","v2.8.0rc2","v2.8.0rc1","v2.8.0b1","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-20191.json"}}],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1916813"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:oracle:virtualization:4.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"4.0"},{"last_affected":"4.0"}],"source":"CPE_STRING","vendor_product":"oracle:virtualization"},{"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"}]}