cve.bz

CVE-2020-10684 Missing Authorization

7.1 highEPSS 0.3%Fix available

High (7.1). EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in ansible 2.7.17, 2.8.11, 2.8.9.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 27th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-862 Missing Authorization
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection, A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-10684 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-10684?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-10684?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-10684 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:ansiblefrom 2.7.0 before 2.7.17
redhat:ansiblefrom 2.8.0 before 2.8.9
redhat:ansiblefrom 2.9.0 before 2.9.6
redhat:ansible_towerthrough 3.3.5
redhat:ansible_towerfrom 3.5.0 through 3.5.5
redhat:ansible_towerfrom 3.6.0 through 3.6.3
redhat:openstack10
redhat:openstack13
debian:debian_linux10.0
fedoraproject:fedora30
fedoraproject:fedora31
fedoraproject:fedora32

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p62g-jhg6-v3rqPyPIansible>=2.7.0a1 <2.7.172.7.17
GHSA-p62g-jhg6-v3rqPyPIansible>=2.8.0a1 <2.8.112.8.11
GHSA-p62g-jhg6-v3rqPyPIansible>=2.9.0a1 <2.9.72.9.7
PYSEC-2020-207PyPIansible>=2.7.0 <2.7.17
>=2.8.0 <2.8.9
>=2.9.0 <2.9.6
2.7.17, 2.8.9, 2.9.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10ansible2.7.7+dfsg-1+deb10u1DSA-4950-1
Debian12, 13, 14ansible2.9.7+dfsg-1DEBIAN-CVE-2020-10684
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 1 moreansibleno fix listedUBUNTU-CVE-2020-10684
Red Hatansible_engine:2.7::el7ansible0:2.7.17-1.el7aeRHSA-2020:1544
Red Hatansible_engine:2.8::el7ansible0:2.8.11-1.el7aeRHSA-2020:1543
Red Hatansible_engine:2.8::el8ansible0:2.8.11-1.el8aeRHSA-2020:1543
Red Hatansible_engine:2.9::el7ansible, ansible-test0:2.9.7-1.el7aeRHSA-2020:1541
Red Hatansible_engine:2.9::el8ansible, ansible-test0:2.9.7-1.el8aeRHSA-2020:1541
Red Hatansible_engine:2::el7ansible, ansible-test0:2.9.7-1.el7aeRHSA-2020:1542
Red Hatansible_engine:2::el8ansible, ansible-test0:2.9.7-1.el8aeRHSA-2020:1542
SUSEHPE Helion OpenStack 8documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more8.20201007-1.29.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8release-notes-hpe-helion-openstack8.20200922-3.23.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8venv-openstack-horizon-hpe12.0.5~dev3-14.32.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-ansible8.0+git.1596735237.54109b1-3.77.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-cinder8.0+git.1596129856.263f430-3.43.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-glance8.0+git.1593631779.76fa9b7-3.24.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-mq8.0+git.1593618123.678c32b-3.26.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-nova8.0+git.1601298847.dd01585-3.42.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-osconfig8.0+git.1595885113.93abcbc-3.49.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8python-Flask-Cors3.0.3-3.3.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8python-ardana-packager0.0.3-7.7.2SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-aodh5.1.1~dev7-12.28.1SUSE-SU-2020:3309-1
46 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3ansible2.9.21-bp153.2.3.1openSUSE-SU-2022:0081-1
openSUSETumbleweedansible-1010.6.0-1.1openSUSE-SU-2024:14536-1
openSUSETumbleweedansible-1111.11.0-1.1openSUSE-SU-2025:15605-1
openSUSETumbleweedansible-1212.2.0-1.1openSUSE-SU-2025:15753-1
openSUSETumbleweedansible-1313.7.0-1.1openSUSE-SU-2026:10944-1
openSUSETumbleweedansible-1414.6.0-1.1openSUSE-SU-2026:12447-1
openSUSETumbleweedansible-99.8.0-1.1openSUSE-SU-2024:14244-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

* Ansible Engine 2.7.16, 2.8.10, and 2.9.6 as well as previous versions are affected.

* Ansible Tower 3.4.5, 3.5.5 and 3.6.3 as well as previous versions are affected.

* Red Hat Gluster Storage and Red Hat Ceph Storage no longer maintains their own version of Ansible. The fix will be consumed from core Ansible. But we still ship ansible separately for ceph ubuntu.

* Red Hat OpenStack Platform does package the affected code. However, because RHOSP does not use ansible_facts as a subkey directly, the RHOSP impact has been reduced to Moderate and no update will be provided at this time for the RHOSP ansible package.

Red Hat's mitigation

Currently, there is not a known mitigation except avoiding the functionality of using ansible_facts as a subkey.

ProductPackageStateAdvisory
Red Hat Ansible Engine 2.7 for RHEL 7ansible-0:2.7.17-1.el7aeFixed 2020-04-22RHSA-2020:1544
Red Hat Ansible Engine 2.8 for RHEL 7ansible-0:2.8.11-1.el7aeFixed 2020-04-22RHSA-2020:1543
Red Hat Ansible Engine 2.8 for RHEL 8ansible-0:2.8.11-1.el8aeFixed 2020-04-22RHSA-2020:1543
Red Hat Ansible Engine 2.9 for RHEL 7ansible-0:2.9.7-1.el7aeFixed 2020-04-22RHSA-2020:1541
Red Hat Ansible Engine 2.9 for RHEL 8ansible-0:2.9.7-1.el8aeFixed 2020-04-22RHSA-2020:1541
Red Hat Ansible Engine 2 for RHEL 7ansible-0:2.9.7-1.el7aeFixed 2020-04-22RHSA-2020:1542
Red Hat Ansible Engine 2 for RHEL 8ansible-0:2.9.7-1.el8aeFixed 2020-04-22RHSA-2020:1542
Red Hat Ansible Tower 3.4 for RHEL 7ansible-tower-34/ansible-tower-memcached:1.4.15-28Fixed 2020-02-18RHBA-2020:0547
Red Hat Ansible Tower 3.4 for RHEL 7ansible-tower-35/ansible-tower-memcached:1.4.15-28Fixed 2020-02-18RHBA-2020:0547
Red Hat Ansible Tower 3.4 for RHEL 7ansible-tower-37/ansible-tower-memcached-rhel7:1.4.15-28Fixed 2020-02-18RHBA-2020:0547
Red Hat Ansible Tower 3.5 for RHEL 7ansible-tower-35/ansible-tower:3.5.6-1Fixed 2020-04-22RHBA-2020:1539
Red Hat Ceph Storage 2ansibleOut of support scope
Red Hat Ceph Storage 3ansibleWill not fix
Red Hat OpenStack Platform 10 (Newton)ansibleOut of support scope
Red Hat OpenStack Platform 13 (Queens)ansibleWill not fix
Red Hat Storage 3ansibleWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-10684.

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High
  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON