A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.9 and 2.9.6 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Ansible | Redhat | 2.7.0 (including) | 2.7.17 (excluding) |
Ansible | Redhat | 2.8.0 (including) | 2.8.9 (excluding) |
Ansible | Redhat | 2.9.0 (including) | 2.9.6 (excluding) |
Ansible_tower | Redhat | * | 3.3.5 (including) |
Ansible_tower | Redhat | 3.5.0 (including) | 3.5.5 (including) |
Ansible_tower | Redhat | 3.6.0 (including) | 3.6.3 (including) |
Openstack | Redhat | 10 (including) | 10 (including) |
Openstack | Redhat | 13 (including) | 13 (including) |
Red Hat Ansible Engine 2.7 for RHEL 7 | RedHat | ansible-0:2.7.17-1.el7ae | * |
Red Hat Ansible Engine 2.8 for RHEL 7 | RedHat | ansible-0:2.8.11-1.el7ae | * |
Red Hat Ansible Engine 2.8 for RHEL 8 | RedHat | ansible-0:2.8.11-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 | esm-apps/bionic | * |
Ansible | Ubuntu | esm-apps/focal | * |
Ansible | Ubuntu | esm-apps/xenial | * |
Ansible | Ubuntu | esm-infra-legacy/trusty | * |
Ansible | Ubuntu | focal | * |
Ansible | Ubuntu | trusty | * |
Ansible | Ubuntu | trusty/esm | * |
Ansible | Ubuntu | upstream | * |
Ansible | Ubuntu | xenial | * |