A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality. Versions before ansible 2.9.18 are affected.
Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Virtualization | Oracle | 4.0 (including) | 4.0 (including) |
Ansible | Redhat | * | 2.8.19 (excluding) |
Ansible | Redhat | 2.9.0 (including) | 2.9.18 (excluding) |
Ansible | Redhat | 2.10.0 (including) | 2.10.7 (excluding) |
Ansible_tower | Redhat | 3.0 (including) | 3.0 (including) |
Cisco_nx-os_collection | Redhat | * | 1.4.0 (excluding) |
Community_general_collection | Redhat | * | 1.3.6 (excluding) |
Community_general_collection | Redhat | 2.0.0 (including) | 2.0.1 (excluding) |
Community_network_collection | Redhat | * | 1.3.2 (excluding) |
Community_network_collection | Redhat | 2.0.0 (including) | 2.0.1 (excluding) |
Docker_community_collection | Redhat | * | 1.2.2 (excluding) |
Google_cloud_platform_ansible_collection | Redhat | 1.0.2 (including) | 1.0.2 (including) |
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 | trusty/esm | * |
Ansible | Ubuntu | xenial | * |
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 | * |
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: