CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NMedium (5.5). EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in ansible 2.10.7, 2.8.19, 2.8.19rc1.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Nansible (PyPI): fixed in 2.9.18rc1, 2.8.19rc1, 2.10.7, 2.8.19, 2.9.18Explain CVE-2021-20191 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20191?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20191?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-2021-20191 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| oracle:virtualization | 4.0 |
| redhat:ansible | before 2.8.19 |
| redhat:ansible | from 2.9.0 before 2.9.18 |
| redhat:ansible | from 2.10.0 before 2.10.7 |
| redhat:ansible_tower | 3.0 |
| redhat:cisco_nx-os_collection | before 1.4.0 |
| redhat:community_general_collection | before 1.3.6 |
| redhat:community_general_collection | from 2.0.0 before 2.0.1 |
| redhat:community_network_collection | before 1.3.2 |
| redhat:community_network_collection | from 2.0.0 before 2.0.1 |
| redhat:docker_community_collection | before 1.2.2 |
| redhat:google_cloud_platform_ansible_collection | 1.0.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-8f4m-hccc-8qph | PyPI | ansible | >=2.9.0a1 <2.9.18rc1 | 2.9.18rc1 |
| GHSA-8f4m-hccc-8qph | PyPI | ansible | <2.8.19rc1 | 2.8.19rc1 |
| GHSA-8f4m-hccc-8qph | PyPI | ansible | >=2.10.0a1 <2.10.7 | 2.10.7 |
| PYSEC-2021-124 | PyPI | ansible | <2.8.19 >=2.9.0 <2.9.18 >=2.10.0 <2.10.7 | 2.8.19, 2.9.18, 2.10.7 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | ansible | 2.7.7+dfsg-1+deb10u2 | DLA-3695-1 |
| Debian | 12, 13, 14 | ansible | 2.10.7-1 | DEBIAN-CVE-2021-20191 |
| Ubuntu | 24.04:LTS, 25.10, 26.04:LTS and 6 more | ansible | no fix listed | UBUNTU-CVE-2021-20191 |
| Red Hat | ansible_engine:2.9::el7 | ansible, ansible-test | 0:2.9.18-1.el7ae | RHSA-2021:0664 |
| Red Hat | ansible_engine:2.9::el8 | ansible, ansible-test | 0:2.9.18-1.el8ae | RHSA-2021:0664 |
| Red Hat | ansible_engine:2::el7 | ansible, ansible-test | 0:2.9.18-1.el7ae | RHSA-2021:0663 |
| Red Hat | ansible_engine:2::el8 | ansible, ansible-test | 0:2.9.18-1.el8ae | RHSA-2021:0663 |
| Red Hat | rhev_hypervisor:4.4::el8, rhev_manager:4.4:el8 | ansible | 0:2.9.18-1.el8ae | RHSA-2021:2180 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | ansible | 2.9.22-3.18.1 | SUSE-SU-2021:2121-1 |
| SUSE | Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 more | golang-github-prometheus-node_exporter | 1.3.0-150000.3.15.1 | SUSE-SU-2022:3178-1 |
| SUSE | Manager Client Tools 15 | dracut-saltboot | 0.1.1657643023.0d694ce-150000.1.35.1 | SUSE-SU-2022:3178-1 |
| SUSE | Manager Client Tools 15 | mgr-daemon | 4.3.5-150000.1.35.1 | SUSE-SU-2022:3178-1 |
| SUSE | Manager Client Tools 15 | mgr-virtualization | 4.3.6-150000.1.32.1 | SUSE-SU-2022:3178-1 |
| SUSE | Manager Client Tools 15 | spacecmd | 4.3.14-150000.3.83.1 | SUSE-SU-2022:3178-1 |
| SUSE | Manager Client Tools 15 | spacewalk-client-tools | 4.3.11-150000.3.65.1 | SUSE-SU-2022:3178-1 |
| SUSE | Manager Client Tools 15 | uyuni-common-libs | 4.3.5-150000.1.24.1 | SUSE-SU-2022:3178-1 |
| SUSE | Manager Client Tools 15 | uyuni-proxy-systemd-services | 4.3.6-150000.1.6.1 | SUSE-SU-2022:3178-1 |
| SUSE | Manager Client Tools 15, Manager Proxy Module 4.1, Manager Proxy Module 4.2 and 1 more | zypp-plugin-spacewalk | 1.0.13-150000.3.32.1 | SUSE-SU-2022:3178-1 |
| SUSE | Manager Client Tools 15, Manager Proxy Module 4.1, Manager Proxy Module 4.2 and 4 more | python-hwdata | 2.3.5-150000.3.9.1 | SUSE-SU-2022:3178-1 |
| SUSE | Manager Client Tools 15, Manager Proxy Module 4.2, Manager Proxy Module 4.3 | ansible | 2.9.27-150000.1.14.1 | SUSE-SU-2022:3178-1 |
| 22 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.3 | ansible | 2.9.21-bp153.2.3.1 | openSUSE-SU-2022:0081-1 |
| openSUSE | Leap 15.3, Leap 15.4 | ansible | 2.9.27-150000.1.14.1 | SUSE-SU-2022:3178-1 |
| openSUSE | Leap 15.3, Leap 15.4 | dracut-saltboot | 0.1.1657643023.0d694ce-150000.1.35.1 | SUSE-SU-2022:3178-1 |
| openSUSE | Leap 15.3, Leap 15.4 | golang-github-QubitProducts-exporter_exporter | 0.4.0-150000.1.15.1 | SUSE-SU-2022:3178-1 |
| openSUSE | Leap 15.3, Leap 15.4 | python-hwdata | 2.3.5-150000.3.9.1 | SUSE-SU-2022:3178-1 |
| openSUSE | Leap 15.3, Leap 15.4 | spacecmd | 4.3.14-150000.3.83.1 | SUSE-SU-2022:3178-1 |
| openSUSE | Leap 15.4 | prometheus-blackbox_exporter | 0.19.0-150000.1.11.1 | SUSE-SU-2022:3178-1 |
| openSUSE | Leap 15.4 | wire | 0.5.0-150000.1.6.1 | SUSE-SU-2022:3178-1 |
| openSUSE | Tumbleweed | ansible-10 | 10.6.0-1.1 | openSUSE-SU-2024:14536-1 |
| openSUSE | Tumbleweed | ansible-11 | 11.11.0-1.1 | openSUSE-SU-2025:15605-1 |
| openSUSE | Tumbleweed | ansible-12 | 12.2.0-1.1 | openSUSE-SU-2025:15753-1 |
| openSUSE | Tumbleweed | ansible-13 | 13.7.0-1.1 | openSUSE-SU-2026:10944-1 |
| 2 more for openSUSE in the JSON and on openSUSE's page. | ||||
| Alpine | v3.10 | ansible | 2.8.19-r0 | ALPINE-CVE-2021-20191 |
| Alpine | v3.11, v3.12 | ansible | 2.9.18-r0 | ALPINE-CVE-2021-20191 |
| Alpine | v3.13, v3.14, v3.15 and 9 more | ansible | 2.10.7-r0 | ALPINE-CVE-2021-20191 |
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; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
The version of ansible shipped with Red Hat Gluster Storage (RHGS) 3 includes the vulnerable `network/nxos/nxos_*` modules. However, RHGS 3 no longer maintains its own version of Ansible, prerequisite is to enable ansible repository in order to consume the latest version of ansible which has many bug and security fixes.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 1.2 for RHEL 7 | ansible-automation-platform/platform-resource-operator-bundle:v0.1.1-1 | Fixed 2021-04-09 | RHSA-2021:1079 |
| Red Hat Ansible Automation Platform 1.2 for RHEL 7 | ansible-automation-platform/platform-resource-rhel7-operator:v0.1.0-12 | Fixed 2021-04-09 | RHSA-2021:1079 |
| Red Hat Ansible Automation Platform 1.2 for RHEL 7 | ansible-automation-platform/platform-resource-runner-rhel7:v0.1.0-15 | Fixed 2021-04-09 | RHSA-2021:1079 |
| Red Hat Ansible Engine 2.9 for RHEL 7 | ansible-0:2.9.18-1.el7ae | Fixed 2021-02-24 | RHSA-2021:0664 |
| Red Hat Ansible Engine 2.9 for RHEL 8 | ansible-0:2.9.18-1.el8ae | Fixed 2021-02-24 | RHSA-2021:0664 |
| Red Hat Ansible Engine 2 for RHEL 7 | ansible-0:2.9.18-1.el7ae | Fixed 2021-02-24 | RHSA-2021:0663 |
| Red Hat Ansible Engine 2 for RHEL 8 | ansible-0:2.9.18-1.el8ae | Fixed 2021-02-24 | RHSA-2021:0663 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | ansible-0:2.9.18-1.el8ae | Fixed 2021-06-01 | RHSA-2021:2180 |
| Red Hat Virtualization Engine 4.4 | ansible-0:2.9.18-1.el8ae | Fixed 2021-06-01 | RHSA-2021:2180 |
| Red Hat Ansible Tower 3 | ansible | Out of support scope | |
| Red Hat Storage 3 | ansible | Will 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-2021-20191.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.