A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Ansible_engine | Redhat | * | 2.7.18 (excluding) |
Ansible_engine | Redhat | 2.8.0 (including) | 2.8.11 (excluding) |
Ansible_engine | Redhat | 2.9.0 (including) | 2.9.7 (excluding) |
Ansible_tower | Redhat | * | 3.3.4 (including) |
Ansible_tower | Redhat | 3.4.0 (including) | 3.4.5 (including) |
Ansible_tower | Redhat | 3.5.0 (including) | 3.5.5 (including) |
Ansible_tower | Redhat | 3.6.0 (including) | 3.6.3 (including) |
Red Hat Ansible Engine 2.7 for RHEL 7 | RedHat | ansible-0:2.7.18-1.el7ae | * |
Red Hat Ansible Engine 2.8 for RHEL 7 | RedHat | ansible-0:2.8.16-1.el7ae | * |
Red Hat Ansible Engine 2.8 for RHEL 8 | RedHat | ansible-0:2.8.16-1.el8ae | * |
Red Hat Ansible Engine 2.9 for RHEL 7 | RedHat | ansible-0:2.9.7-1.el7ae | * |
Red Hat Ansible Engine 2.9 for RHEL 8 | RedHat | ansible-0:2.9.7-1.el8ae | * |
Red Hat Ansible Engine 2 for RHEL 7 | RedHat | ansible-0:2.9.7-1.el7ae | * |
Red Hat Ansible Engine 2 for RHEL 8 | RedHat | ansible-0:2.9.7-1.el8ae | * |
Red Hat Ansible Tower 3.4 for RHEL 7 | RedHat | ansible-tower-34/ansible-tower-memcached:1.4.15-28 | * |
Red Hat Ansible Tower 3.4 for RHEL 7 | RedHat | ansible-tower-35/ansible-tower-memcached:1.4.15-28 | * |
Red Hat Ansible Tower 3.4 for RHEL 7 | RedHat | ansible-tower-37/ansible-tower-memcached-rhel7:1.4.15-28 | * |
Red Hat Ansible Tower 3.5 for RHEL 7 | RedHat | ansible-tower-35/ansible-tower:3.5.6-1 | * |
Ansible | Ubuntu | bionic | * |
Ansible | Ubuntu | eoan | * |
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 | * |
There are many different kinds of mistakes that introduce information exposures. The severity of the error can range widely, depending on the context in which the product operates, the type of sensitive information that is revealed, and the benefits it may provide to an attacker. Some kinds of sensitive information include:
Information might be sensitive to different parties, each of which may have their own expectations for whether the information should be protected. These parties include:
Information exposures can occur in different ways:
It is common practice to describe any loss of confidentiality as an “information exposure,” but this can lead to overuse of CWE-200 in CWE mapping. From the CWE perspective, loss of confidentiality is a technical impact that can arise from dozens of different weaknesses, such as insecure file permissions or out-of-bounds read. CWE-200 and its lower-level descendants are intended to cover the mistakes that occur in behaviors that explicitly manage, store, transfer, or cleanse sensitive information.