CVE-2021-20228
Ansible Tower vulnerability analysis and mitigation

Overview

A flaw was discovered in Ansible Engine 2.9.18 (CVE-2021-20228) 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 (CVE Mitre, NVD).

Technical details

The vulnerability exists in the basic.py module of Ansible Engine where the return value is not being masked by default while using the fallback sub-option. This affects the no_log feature's functionality, which is designed to protect sensitive information. The issue specifically relates to how default and fallback values for no_log fields are handled in the module output (Red Hat Bugzilla, GitHub PR).

Impact

This vulnerability allows an attacker to obtain sensitive information such as secrets or credentials that should have been masked. The highest threat from this vulnerability is to confidentiality (CVE Mitre).

Mitigation and workarounds

The issue has been addressed in multiple products including Red Hat Ansible Engine 2 for RHEL 7 and 8, Red Hat Ansible Engine 2.9 for RHEL 7 and 8, and Red Hat Ansible Automation Platform 1.2. Updates are available through various security advisories including RHSA-2021:0663, RHSA-2021:0664, and RHSA-2021:1079 (Red Hat Advisory).

Additional resources


SourceThis report was generated using AI

Related Ansible Tower vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2021-4112HIGH8.8
  • Ansible Tower logoAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesAug 25, 2022
CVE-2021-3583HIGH7.1
  • Ansible Tower logoAnsible Tower
  • python2-hwdata
NoYesSep 22, 2021
CVE-2020-14327MEDIUM5.5
  • Ansible Tower logoAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesMay 27, 2021
CVE-2020-14329LOW3.3
  • Ansible Tower logoAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesMay 27, 2021
CVE-2020-14328LOW3.3
  • Ansible Tower logoAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesMay 27, 2021

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management