CVE-2020-10684
Ansible Tower vulnerability analysis and mitigation

Overview

CVE-2020-10684 is a vulnerability discovered in Ansible Engine affecting 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. The vulnerability was discovered by Damien Aumaitre and Nicolas Surbayrole from Quarkslab and was disclosed in March 2020 (Red Hat Bugzilla).

Technical details

The vulnerability occurs when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, which results in overwriting the ansible_facts after the clean. The vulnerability has been assigned a CVSS v3.1 base score of 7.1 (HIGH) by NIST with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H, and a score of 7.9 (HIGH) by Red Hat with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H (NVD).

Impact

An attacker could exploit this vulnerability by altering the ansible_facts, such as ansible_hosts, users, and any other key data, which could lead to privilege escalation or code injection (Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in Ansible Engine versions 2.7.17, 2.8.9, and 2.9.6. Prior to patching, there is no known mitigation except avoiding the functionality of using ansible_facts as a subkey (Red Hat Bugzilla). Various distributions have released security updates including Fedora, Debian, and Gentoo (Gentoo Advisory, Debian Advisory).

Additional resources


SourceThis report was generated using AI

Related Ansible Tower vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2021-4112HIGH8.8
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesAug 25, 2022
CVE-2021-3583HIGH7.1
  • Ansible TowerAnsible Tower
  • ansible-test
NoYesSep 22, 2021
CVE-2020-14327MEDIUM5.5
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesMay 27, 2021
CVE-2020-14329LOW3.3
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesMay 27, 2021
CVE-2020-14328LOW3.3
  • Ansible TowerAnsible Tower
  • cpe:2.3:a:redhat:ansible_tower
NoYesMay 27, 2021

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management