Red Hat · Ansible Engine · CVE-2021-20228
**Name of the Vulnerable Software and Affected Versions**
Ansible Engine versions prior to 2.10.6rc1
Ansible Engine versions prior to 2.9.18rc1
Ansible Engine versions prior to 2.8.19rc1
**Description**
A flaw was found in the Ansible Engine, where sensitive information 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 allows an attacker to obtain sensitive information, with the highest threat being to confidentiality.
**Recommendations**
For Ansible Engine versions prior to 2.10.6rc1, update to version 2.10.6rc1 or later.
For Ansible Engine versions prior to 2.9.18rc1, update to version 2.9.18rc1 or later.
For Ansible Engine versions prior to 2.8.19rc1, update to version 2.8.19rc1 or later.
As a temporary workaround, consider disabling the sub-option feature of the basic.py module until a patch is available. Restrict access to sensitive information to minimize the risk of exploitation.