CVE-2021-20228

Summary

CVECVE-2021-20228
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-04-29 16:15:00 UTC
Updated2023-11-07 03:29:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-200

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Application Redhat Ansible Automation Platform 1.2 All All All
Application Redhat Ansible Engine 2.0 All All All
Application Redhat Ansible Engine 2.9 All All All
Application Redhat Ansible Engine 2.9.18 All All All
Application Redhat Ansible Tower 3.0 All All All

References

ReferenceSourceLinkTags
no_log mask suboption fallback values and defaults CVE-2021-20228 by jborean93 · Pull Request #73487 · ansible/ansible · GitHub MISC github.com
1925002 – (CVE-2021-20228) CVE-2021-20228 ansible: basic.py no_log with fallback option MISC bugzilla.redhat.com
Debian -- Security Information -- DSA-4950-1 ansible DEBIAN www.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178744 Debian Security Update for ansible (DSA 4950-1)
  • 180325 Debian Security Update for ansible (CVE-2021-20228)
  • 239447 Red Hat Update for RHV Engine and Host Common Packages (RHSA-2021:2180)
  • 752570 SUSE Enterprise Linux Important for SUSE Manager Client Tools (SUSE-SU-2022:3178-1)
  • 900400 Common Base Linux Mariner (CBL-Mariner) Security Update for ansible (6008)
  • 901000 Common Base Linux Mariner (CBL-Mariner) Security Update for ansible (6304-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report