cve.bz

CVE-2021-3620 redhat

5.5 mediumEPSS 0.4%Fix available

Medium (5.5) in redhat. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in ansible 2.9.27.

On this page
A flaw was found in Ansible Engine's ansible-connection module, where sensitive information such as the Ansible user credentials is disclosed by default in the traceback error message. The highest threat from this vulnerability is to confidentiality.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-209 Generation of Error Message Containing Sensitive Information
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
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-2021-3620 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3620?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3620?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-3620 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:ansible_automation_platform_early_access2.0
redhat:ansible_enginebefore 2.9.27
redhat:openstack1
redhat:openstack16.1
redhat:virtualization4.0
redhat:virtualization_for_ibm_power_little_endian4.0
redhat:virtualization_host4.0
redhat:virtualization_manager4.4
redhat:enterprise_linux8.0
redhat:enterprise_linux_for_power_little_endian8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4r65-35qq-ch8jPyPIansible<2.9.272.9.27
PYSEC-2022-164PyPIansible<2.9.272.9.27

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10ansible2.7.7+dfsg-1+deb10u2DLA-3695-1
Debian12, 13, 14ansible5.4.0-1DEBIAN-CVE-2021-3620
Debian12, 13, 14ansible-core2.12.0-1DEBIAN-CVE-2021-3620
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 moreansibleno fix listedUBUNTU-CVE-2021-3620
UbuntuPro:16.04:LTSansible2.0.0.2-2ubuntu1.3+esm1USN-5315-1
UbuntuPro:18.04:LTSansible2.5.1+dfsg-1ubuntu0.1+esm1USN-5315-1
UbuntuPro:20.04:LTSansible2.9.6+dfsg-1ubuntu0.1~esm1UBUNTU-CVE-2021-3620 USN-5315-1
UbuntuPro:22.04:LTSansible2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1UBUNTU-CVE-2021-3620 USN-5315-1
Red Hatansible_automation_platform:2.0::el8ansible0:2.9.27-1.el8apRHSA-2021:3874
Red Hatansible_automation_platform:2.0::el8ansible-core, ansible-test0:2.11.6-1.el8apRHSA-2021:3874
Red Hatansible_engine:2.9::el7ansible, ansible-test0:2.9.27-1.el7aeRHSA-2021:3871
Red Hatansible_engine:2.9::el8ansible, ansible-test0:2.9.27-1.el8aeRHSA-2021:3871
Red Hatansible_engine:2::el7ansible, ansible-test0:2.9.27-1.el7aeRHSA-2021:3872
Red Hatansible_engine:2::el8ansible, ansible-test0:2.9.27-1.el8aeRHSA-2021:3872
Red Hatrhev_hypervisor:4.4::el8redhat-virtualization-host, redhat-virtualization-host-image-update0:4.4.9-202111172338_8.5RHSA-2021:4750
Red Hatrhev_hypervisor:4.4::el8, rhev_manager:4.4:el8ansible0:2.9.27-1.el8aeRHSA-2021:4703
Red Hatrhev_hypervisor:4.4::el8, rhev_manager:4.4:el8ovirt-ansible-collection0:1.6.5-1.el8evRHSA-2021:4703
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8ansible2.9.27-3.21.1SUSE-SU-2021:4152-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moregolang-github-prometheus-node_exporter1.3.0-150000.3.15.1SUSE-SU-2022:3178-1
SUSEManager Client Tools 15dracut-saltboot0.1.1657643023.0d694ce-150000.1.35.1SUSE-SU-2022:3178-1
SUSEManager Client Tools 15mgr-daemon4.3.5-150000.1.35.1SUSE-SU-2022:3178-1
SUSEManager Client Tools 15mgr-virtualization4.3.6-150000.1.32.1SUSE-SU-2022:3178-1
SUSEManager Client Tools 15spacecmd4.3.14-150000.3.83.1SUSE-SU-2022:3178-1
SUSEManager Client Tools 15spacewalk-client-tools4.3.11-150000.3.65.1SUSE-SU-2022:3178-1
SUSEManager Client Tools 15uyuni-common-libs4.3.5-150000.1.24.1SUSE-SU-2022:3178-1
SUSEManager Client Tools 15uyuni-proxy-systemd-services4.3.6-150000.1.6.1SUSE-SU-2022:3178-1
SUSEManager Client Tools 15, Manager Proxy Module 4.1, Manager Proxy Module 4.2 and 1 morezypp-plugin-spacewalk1.0.13-150000.3.32.1SUSE-SU-2022:3178-1
SUSEManager Client Tools 15, Manager Proxy Module 4.1, Manager Proxy Module 4.2 and 4 morepython-hwdata2.3.5-150000.3.9.1SUSE-SU-2022:3178-1
SUSEManager Client Tools 15, Manager Proxy Module 4.2, Manager Proxy Module 4.3ansible2.9.27-150000.1.14.1SUSE-SU-2022:3178-1
21 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3, Leap 15.4ansible2.9.27-150000.1.14.1SUSE-SU-2022:3178-1
openSUSELeap 15.3, Leap 15.4dracut-saltboot0.1.1657643023.0d694ce-150000.1.35.1SUSE-SU-2022:3178-1
openSUSELeap 15.3, Leap 15.4golang-github-QubitProducts-exporter_exporter0.4.0-150000.1.15.1SUSE-SU-2022:3178-1
openSUSELeap 15.3, Leap 15.4python-hwdata2.3.5-150000.3.9.1SUSE-SU-2022:3178-1
openSUSELeap 15.3, Leap 15.4spacecmd4.3.14-150000.3.83.1SUSE-SU-2022:3178-1
openSUSELeap 15.4prometheus-blackbox_exporter0.19.0-150000.1.11.1SUSE-SU-2022:3178-1
openSUSELeap 15.4wire0.5.0-150000.1.6.1SUSE-SU-2022:3178-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

Red Hat Gluster Storage 3 no longer maintains its own version of Ansible. The prerequisite is to enable the Ansible repository in order to consume the latest version of Ansible, which has many bug and security fixes.

Red Hat Ceph Storage 2 only provides fixes for bugs on an as-requested basis by a customer, and will not be fixed after discussion with engineering about the viability of a fix. Red Hat Ceph Storage 3 does not directly ship ansible, and thus is closed as won't fix.

Red Hat Virtualization ships an affected version of ansible, however, the usage of ansible on the redhat-virtualization-host is only supported for self-hosted-engine installation and disaster recovery, where it is run locally. As such Impact is rated Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.0 for RHEL 8ansible-0:2.9.27-1.el8apFixed 2021-10-14RHSA-2021:3874
Red Hat Ansible Automation Platform 2.0 for RHEL 8ansible-core-0:2.11.6-1.el8apFixed 2021-10-14RHSA-2021:3874
Red Hat Ansible Engine 2.9 for RHEL 7ansible-0:2.9.27-1.el7aeFixed 2021-10-14RHSA-2021:3871
Red Hat Ansible Engine 2.9 for RHEL 8ansible-0:2.9.27-1.el8aeFixed 2021-10-14RHSA-2021:3871
Red Hat Ansible Engine 2 for RHEL 7ansible-0:2.9.27-1.el7aeFixed 2021-10-14RHSA-2021:3872
Red Hat Ansible Engine 2 for RHEL 8ansible-0:2.9.27-1.el8aeFixed 2021-10-14RHSA-2021:3872
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8ansible-0:2.9.27-1.el8aeFixed 2021-11-16RHSA-2021:4703
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8ovirt-ansible-collection-0:1.6.5-1.el8evFixed 2021-11-16RHSA-2021:4703
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8redhat-virtualization-host-0:4.4.9-202111172338_8.5Fixed 2021-11-19RHSA-2021:4750
Red Hat Virtualization 4 Tools for Red Hat Enterprise Linux 8ovirt-ansible-collection-0:1.6.5-1.el8evFixed 2021-11-16RHSA-2021:4703
Red Hat Virtualization Engine 4.4ansible-0:2.9.27-1.el8aeFixed 2021-11-16RHSA-2021:4703
Red Hat Virtualization Engine 4.4ovirt-ansible-collection-0:1.6.5-1.el8evFixed 2021-11-16RHSA-2021:4703
Red Hat Ansible Automation Platform 1.2AnsibleAffected
Red Hat Ceph Storage 2ansibleWill not fix
Red Hat Ceph Storage 3ansibleWill 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-2021-3620.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-54 Query System for Information Likelihood: High · Severity: Low
  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low
  • CAPEC-463 Padding Oracle Crypto Attack Severity: High

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

References

Check your stackJSON