CVE Vulnerabilities

CVE-2021-20180

Insertion of Sensitive Information into Log File

Published: Mar 16, 2022 | Modified: Mar 22, 2022
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
2.1 LOW
AV:L/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
5 MODERATE
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Ubuntu
MEDIUM

A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.

Weakness

Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.

Affected Software

Name Vendor Start Version End Version
Ansible Redhat * 2.9.18 (excluding)
Red Hat Ansible Automation Platform 1.2 for RHEL 7 RedHat ansible-automation-platform/platform-resource-operator-bundle:v0.1.1-1 *
Red Hat Ansible Automation Platform 1.2 for RHEL 7 RedHat ansible-automation-platform/platform-resource-rhel7-operator:v0.1.0-12 *
Red Hat Ansible Automation Platform 1.2 for RHEL 7 RedHat ansible-automation-platform/platform-resource-runner-rhel7:v0.1.0-15 *
Red Hat Ansible Engine 2.9 for RHEL 7 RedHat ansible-0:2.9.18-1.el7ae *
Red Hat Ansible Engine 2.9 for RHEL 8 RedHat ansible-0:2.9.18-1.el8ae *
Red Hat Ansible Engine 2 for RHEL 7 RedHat ansible-0:2.9.18-1.el7ae *
Red Hat Ansible Engine 2 for RHEL 8 RedHat ansible-0:2.9.18-1.el8ae *
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 RedHat ansible-0:2.9.18-1.el8ae *
Red Hat Virtualization Engine 4.4 RedHat ansible-0:2.9.18-1.el8ae *
Ansible Ubuntu bionic *
Ansible Ubuntu groovy *
Ansible Ubuntu hirsute *
Ansible Ubuntu impish *
Ansible Ubuntu kinetic *
Ansible Ubuntu lunar *
Ansible Ubuntu mantic *
Ansible Ubuntu trusty *
Ansible Ubuntu xenial *

Extended Description

While logging all information may be helpful during development stages, it is important that logging levels be set appropriately before a product ships so that sensitive user data and system information are not accidentally exposed to potential attackers. Different log files may be produced and stored for:

Potential Mitigations

References