CVE-2020-10684
Description
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.
How to fix
- redhat ansible2.7.17, 2.8.9, 2.9.6 or later
- ansible2.7.17, 2.8.11, 2.9.7, 2.8.9, 2.9.6 or later
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/
- security.gentoo.org/glsa/202006-11
- debian.org/security/2021/dsa-4950
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat ansible | 2.7.0 ≤ v < 2.7.17, 2.8.0 ≤ v < 2.8.9, 2.9.0 ≤ v < 2.9.6 | 2.7.17, 2.8.9, 2.9.6 |
| redhat ansible_tower | v ≤ 3.3.5, 3.5.0 ≤ v ≤ 3.5.5, 3.6.0 ≤ v ≤ 3.6.3 | — |
| redhat openstack | 10, 13 | — |
| debian debian_linux | 10.0 | — |
| fedoraproject fedora | 30, 31, 32 | — |
| ansiblePyPI | 2.7.0a1 ≤ v < 2.7.17, 2.8.0a1 ≤ v < 2.8.11, 2.9.0a1 ≤ v < 2.9.7, 2.7.0 ≤ v < 2.7.17, 2.8.0 ≤ v < 2.8.9, 2.9.0 ≤ v < 2.9.6 | 2.7.17, 2.8.11, 2.9.7, 2.8.9, 2.9.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.