CVE-2020-10684
Code Injection, Race Condition, and Execution with Unnecessary Privileges in Ansible
7.1
HIGH
CVSS 3.1
EPSS 0.03%
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 CVE-2020-10684
To remediate CVE-2020-10684, upgrade the affected package to a fixed version below.
- —upgrade to 2.9.7+dfsg-1 or later
- —upgrade to 2.7.17 or later
- —upgrade to 2.7.17 or later
Is CVE-2020-10684 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 2.9.7+dfsg-1
- >= 2.7.0a1, < 2.7.17
- >= 2.7.0, < 2.7.17, >= 2.8.0, < 2.8.9, >= 2.9.0, < 2.9.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |