High severity · published Apr 29, 2021
CVE-2021-20228
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…
7.5
CVSS
2.1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.1% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AA
Ansible Automation Platform · Redhat
1.2 · source: NVD
AE
Ansible Engine · Redhat
2.9.18; 2.0; 2.9 · source: NVD
AT
Ansible Tower · Redhat
3.0 · source: NVD
DL
Debian Linux · Debian
10.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-20228
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-20228
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=1925002
Patch
https://github.com/ansible/ansible/pull/73487
Third Party Advisory
https://www.debian.org/security/2021/dsa-4950
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
