All reports
Medium

Code Injection, Race Condition, and Execution with Unnecessary Privileges in Ansible

Affected versions

Version ranges need review.

Affected versions
>= 2.9.0a1, < 2.9.7
Fixed version
2.9.7
Affected versions
>= 2.8.0a1, < 2.8.11
Fixed version
2.8.11
Affected versions
>= 2.7.0a1, < 2.7.17
Fixed version
2.7.17
Affected versions
>=2.7.0 <2.7.17 || >=2.8.0 <2.8.9 || >=2.9.0 <2.9.6
Fixed version
2.7.17 · 2.8.9 · 2.9.6
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2020-10684

Probability of exploitation in the next 30 days: 0.33%

FIRST EPSS · 2026-11-20

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.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.

Links