{"id":"CVE-2021-20191","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.","aliases":["GHSA-8f4m-hccc-8qph","PYSEC-2021-124"],"modified":"2026-04-16T04:34:53.500666693Z","published":"2021-05-26T21:15:08.193Z","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"],"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ansible-collections/community.docker","events":[{"introduced":"0"},{"last_affected":"90cf544dbac27564aef459745d6aaa6595e6b4ef"},{"introduced":"0"},{"last_affected":"be4f333696ec9653b963687c95ca5e00a3c6833f"},{"introduced":"0"},{"fixed":"92db288917411ee377094701e4b21cc509f99b8e"},{"introduced":"5183f84962d3f923040d94db5397d9cd9abd7be0"},{"fixed":"b31e7d7d9ce2f16373b7ab27d77d97f428b6a8ea"},{"introduced":"5183f84962d3f923040d94db5397d9cd9abd7be0"},{"fixed":"b31e7d7d9ce2f16373b7ab27d77d97f428b6a8ea"},{"introduced":"0"},{"fixed":"bbf8373f6cb912d5006f44d298a80aa8f5337cb2"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"4.0"},{"introduced":"0"},{"last_affected":"3.0"},{"introduced":"0"},{"fixed":"1.4.0"},{"introduced":"2.0.0"},{"fixed":"2.0.1"},{"introduced":"2.0.0"},{"fixed":"2.0.1"},{"introduced":"0"},{"fixed":"1.2.2"}]}},{"type":"GIT","repo":"https://github.com/ansible-collections/community.general","events":[{"introduced":"0"},{"fixed":"b81ba747baf8b2361070d9877eb14011130339bc"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.3.6"}]}},{"type":"GIT","repo":"https://github.com/ansible-collections/google.cloud","events":[{"introduced":"0"},{"last_affected":"86fbbf7a2c76068d20dcd8e8ff4b4084eb3fb4bb"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.0.2"}]}},{"type":"GIT","repo":"https://github.com/ansible/ansible","events":[{"introduced":"0"},{"fixed":"1205ad6a1a108376654d128ac903049168bf3d35"},{"introduced":"24325a05dfb9104d6d4ec8b488b89e07c2e6d376"},{"fixed":"4455e60166a8271771d96c24f47b6714130d200f"},{"introduced":"a6ed9551320b5f9d2a15a69e4c8b22ee31f0f778"},{"fixed":"4226af2718f3d478bed2d07091692d65604b3d71"},{"introduced":"0"},{"fixed":"9d5d88b59fa3fdbbec4f4cb269c446c666e3abbb"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.8.19"},{"introduced":"2.9.0"},{"fixed":"2.9.18"},{"introduced":"2.10.0"},{"fixed":"2.10.7"},{"introduced":"0"},{"fixed":"1.3.2"}]}}],"versions":["0.0.1","0.01","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.2.0","0.3","0.7","1.0.0","1.0.1","1.0.2","1.1.0","1.2.0","1.2.1","1.2.2","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","2.0.0","2.0.1","2.0.2","2.1.0","2.1.1","2.2.0","2.2.1","2.3.0","2.4.0","2.5.0","2.5.1","2.6.0","3.0.0","3.0.0-a1","3.0.0-a2","3.0.0-a3","3.0.0-rc1","3.0.0-rc2","3.0.1","3.0.2","3.1.0","3.10.0","3.10.1","3.10.2","3.10.3","3.10.4","3.11.0","3.12.0","3.12.1","3.12.2","3.13.0","3.13.1","3.2.0","3.2.1","3.2.2","3.3.0","3.3.1","3.3.2","3.4.0","3.4.1","3.4.10","3.4.11","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.4.7","3.4.8","3.4.9","3.5.0","3.6.0","3.6.0-b1","3.6.0-b2","3.6.0-rc1","3.7.0","3.8.0","3.8.1","3.9.0","4.0.0","v0.0.3","v0.0.3.1","v0.0.4","v0.0.5","v0.0.7","v0.0.8","v0.0.9","v0.10.0","v0.10.1","v0.10.2","v0.10.3","v1.0","v1.0.1","v1.1","v1.2","v1.3.0","v1.3.1","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.10.0","v2.10.1","v2.10.1rc2","v2.10.1rc3","v2.10.2","v2.10.2rc1","v2.10.3","v2.10.3rc1","v2.10.4","v2.10.4rc1","v2.10.5","v2.10.5rc1","v2.10.6","v2.10.6rc1","v2.10.7rc1","v2.6.0a1","v2.7.0.a1","v2.8.0","v2.8.0a1","v2.8.0b1","v2.8.0rc1","v2.8.0rc2","v2.8.0rc3","v2.8.1","v2.8.10","v2.8.11","v2.8.12","v2.8.13","v2.8.14","v2.8.15","v2.8.16","v2.8.16rc1","v2.8.17","v2.8.17rc1","v2.8.18","v2.8.18rc1","v2.8.19rc1","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6","v2.8.7","v2.8.8","v2.8.9","v2.9.0","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.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-20191.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}