First published: Fri Mar 20 2020(Updated: )
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.11, and 2.9.7 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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Redhat Ansible | >=2.7.0<2.7.17 | |
Redhat Ansible | >=2.8.0<2.8.9 | |
Redhat Ansible | >=2.9.0<2.9.6 | |
Redhat Ansible Tower | <=3.3.5 | |
Redhat Ansible Tower | >=3.5.0<=3.5.5 | |
Redhat Ansible Tower | >=3.6.0<=3.6.3 | |
Redhat Openstack | =10 | |
Redhat Openstack | =13 | |
Debian Debian Linux | =10.0 | |
Fedoraproject Fedora | =30 | |
Fedoraproject Fedora | =31 | |
Fedoraproject Fedora | =32 | |
debian/ansible | 2.7.7+dfsg-1+deb10u1 2.7.7+dfsg-1+deb10u2 2.10.7+merged+base+2.10.8+dfsg-1 7.3.0+dfsg-1 7.7.0+dfsg-3 | |
redhat/ansible-engine | <2.7.17 | 2.7.17 |
redhat/ansible-engine | <2.8.11 | 2.8.11 |
redhat/ansible-engine | <2.9.7 | 2.9.7 |
pip/ansible | >=2.9.0a1<2.9.7 | 2.9.7 |
pip/ansible | >=2.8.0a1<2.8.11 | 2.8.11 |
pip/ansible | >=2.7.0a1<2.7.17 | 2.7.17 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-10684 is a vulnerability in Ansible Engine that allows an attacker to overwrite ansible_facts after a clean.
Versions 2.7.x, 2.8.x, and 2.9.x of Ansible Engine prior to 2.7.17, 2.8.11, and 2.9.7 respectively are affected by CVE-2020-10684.
An attacker can exploit CVE-2020-10684 by 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.
CVE-2020-10684 has a severity rating of high.
To fix CVE-2020-10684, upgrade to Ansible Engine versions 2.7.17, 2.8.11, and 2.9.7 respectively.