CVE Vulnerabilities

CVE-2018-10855

Insertion of Sensitive Information into Log File

Published: Jul 03, 2018 | Modified: Nov 21, 2024
CVSS 3.x
5.9
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
5.9 MODERATE
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Ubuntu
LOW

Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.

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_engine Redhat 2.4 (including) 2.4.5 (excluding)
Ansible_engine Redhat 2.5 (excluding) 2.5.5 (including)
Ansible_engine Redhat 2.0 (including) 2.0 (including)
Cloudforms Redhat 4.6 (including) 4.6 (including)
Openstack Redhat 13 (including) 13 (including)
Virtualization Redhat 4.0 (including) 4.0 (including)
CloudForms Management Engine 5.9 RedHat ansible-0:2.4.5.0-1.el7ae *
CloudForms Management Engine 5.9 RedHat ansible-tower-0:3.2.5-1.el7at *
CloudForms Management Engine 5.9 RedHat cfme-0:5.9.3.4-1.el7cf *
CloudForms Management Engine 5.9 RedHat cfme-amazon-smartstate-0:5.9.3.4-1.el7cf *
CloudForms Management Engine 5.9 RedHat cfme-appliance-0:5.9.3.4-1.el7cf *
CloudForms Management Engine 5.9 RedHat cfme-gemset-0:5.9.3.4-1.el7cf *
CloudForms Management Engine 5.9 RedHat httpd-configmap-generator-0:0.2.2-1.1.el7cf *
Red Hat Ansible Engine 2.4 for RHEL 7 RedHat ansible-0:2.4.5.0-1.el7ae *
Red Hat Ansible Engine 2.5 for RHEL 7 RedHat ansible-0:2.5.5-1.el7ae *
Red Hat Ansible Engine 2 for RHEL 7 RedHat ansible-0:2.5.5-1.el7ae *
Red Hat OpenStack Platform 10.0 (Newton) RedHat ansible-0:2.4.6.0-1.el7ae *
Red Hat OpenStack Platform 12.0 (Pike) RedHat ansible-0:2.4.6.0-1.el7ae *
Red Hat OpenStack Platform 12.0 (Pike) RedHat ansible-role-redhat-subscription-0:1.0.1-4.el7ost *
Red Hat OpenStack Platform 13.0 (Queens) RedHat ansible-0:2.4.6.0-1.el7ae *
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 RedHat imgbased-0:1.0.20-0.1.el7ev *
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 RedHat redhat-release-virtualization-host-0:4.2-4.3.el7 *
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 RedHat redhat-virtualization-host-0:4.2-20180622.0 *
Ansible Ubuntu artful *
Ansible Ubuntu bionic *
Ansible Ubuntu upstream *

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