Live threats

All CVEs / Redhat

CVE-2020-10684Redhat Ansible

High 7.1

Priority
43
CVSS 3.1
7.1
EPSS
0.3%
probability of exploitation in 30 days · percentile 28
Auth required
Yes
Published
Mar 24, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-362, CWE-862
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI ansible ≥ 2.7.0a1 < 2.7.17 2.7.17 pip install "ansible>=2.7.17"
PyPI ansible ≥ 2.8.0a1 < 2.8.11 2.8.11 pip install "ansible>=2.8.11"
PyPI ansible ≥ 2.9.0a1 < 2.9.7 2.9.7 pip install "ansible>=2.9.7"
PyPI ansible ≥ 2.7.0 < 2.7.17 2.7.17 pip install "ansible>=2.7.17"
PyPI ansible ≥ 2.8.0 < 2.8.9 2.8.9 pip install "ansible>=2.8.9"
PyPI ansible ≥ 2.9.0 < 2.9.6 2.9.6 pip install "ansible>=2.9.6"

Per OSV / GitHub Advisories (GHSA-p62g-jhg6-v3rq, PYSEC-2020-207). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatansible≥ 2.7.0 < 2.7.17
redhatansible≥ 2.8.0 < 2.8.9
redhatansible≥ 2.9.0 < 2.9.6
redhatansible_tower≤ 3.3.5
redhatansible_tower≥ 3.5.0 ≤ 3.5.5
redhatansible_tower≥ 3.6.0 ≤ 3.6.3
redhatopenstack10
redhatopenstack13
debiandebian_linux10.0
fedoraprojectfedora30
fedoraprojectfedora31
fedoraprojectfedora32

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.