Skip to content
Fencer Vulns
medium 5.5

CVE-2021-3620 json

Ansible discloses sensitive information in traceback error message

published 2022-03-03 4 y ago modified 2026-06-17 4 mo ago also GHSA-4r65-35qq-ch8j , PYSEC-2022-164 , EUVD-2022-0006

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 33%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi ansible 2.9.27
  • redhat ansible_engine 2.9.27
  • ansible Debian 14, Debian 13, Debian 12 5.4.0-1
  • ansible-core Debian 14, Debian 13, Debian 12 2.12.0-1

debian advisories DEBIAN-CVE-2021-3620

  • ansible Ubuntu Pro 20.04 LTS 2.9.6+dfsg-1ubuntu0.1~esm1
  • ansible Ubuntu Pro 22.04 LTS 2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2021-3620

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • redhat-virtualization-host rhev hypervisor 4.4 4.4.9-202111172338_8.5
  • redhat-virtualization-host-image-update rhev hypervisor 4.4 4.4.9-202111172338_8.5
  • ansible rhev manager 4.4, rhev hypervisor 4.4, ansible engine 2.9 +1 more 2.9.27-1.el8ae
  • ovirt-ansible-collection rhev manager 4.4, rhev hypervisor 4.4 1.6.5-1.el8ev
  • ansible ansible engine 2.9, ansible engine 2 2.9.27-1.el7ae
  • ansible-test ansible engine 2.9, ansible engine 2 2.9.27-1.el7ae
  • ansible-test ansible engine 2.9, ansible engine 2 2.9.27-1.el8ae
  • ansible ansible automation platform 2.0 2.9.27-1.el8ap

red hat advisories RHSA-2021:4750RHSA-2021:4703RHSA-2021:3871RHSA-2021:3872RHSA-2021:3874

  • rhnlib Manager Client Tools 15-BETA 5.0.1-159000.6.30.1
  • ansible Manager Client Tools 15-BETA 2.9.27-159000.3.9.1
  • grafana Manager Client Tools 15-BETA 9.5.8-159000.4.24.1
  • mgr-push Manager Client Tools 15-BETA 5.0.1-159000.4.21.1
  • spacecmd Manager Client Tools 15-BETA 5.0.1-159000.6.42.1
  • python-hwdata Manager Client Tools 15-BETA 2.3.5-159000.5.13.1
  • python-pyvmomi Manager Client Tools 15-BETA 6.7.3-159000.3.6.1
  • dracut-saltboot Manager Client Tools Beta for SLE Micro 5, Manager Client Tools 15-BETA 0.1.1681904360.84ef141-159000.3.30.1

suse advisories SUSE-SU-2024:0196-1SUSE-SU-2022:3178-1SUSE-SU-2021:4152-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-3620 updated cvss 5.5

Ansible: ansible-connection module discloses sensitive info in traceback error message

  • Red Hat Ansible Automation Platform 1.2 Ansible
    affected: no fix available
  • Red Hat Ceph Storage 2 ansible Red Hat Ceph Storage 3 ansible Red Hat Storage 3 ansible
    affected: no fix planned “Will not fix”
  • Red Hat Ansible Automation Platform 2.0 for RHEL 8 ansible 2.9.27-1.el8ap, ansible-core 2.11.6-1.el8ap, ansible-test 2.11.6-1.el8ap
    fixed: vendor fix RHSA-2021:3874
  • Red Hat Ansible Engine 2 for RHEL 7 ansible 2.9.27-1.el7ae, ansible-test 2.9.27-1.el7ae Red Hat Ansible Engine 2 for RHEL 8 ansible 2.9.27-1.el8ae, ansible-test 2.9.27-1.el8ae
    fixed: vendor fix RHSA-2021:3872
  • Red Hat Ansible Engine 2.9 for RHEL 7 Server ansible 2.9.27-1.el7ae, ansible-test 2.9.27-1.el7ae Red Hat Ansible Engine 2.9 for RHEL 8 ansible 2.9.27-1.el8ae, ansible-test 2.9.27-1.el8ae
    fixed: vendor fix RHSA-2021:3871
  • Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host 4.4.9-202111172338_8.5, redhat-virtualization-host-image-update 4.4.9-202111172338_8.5
    fixed: vendor fix RHSA-2021:4750
  • Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts ansible 2.9.27-1.el8ae, ovirt-ansible-collection 1.6.5-1.el8ev Red Hat Virtualization 4 Tools for Red Hat Enterprise Linux 8 ovirt-ansible-collection 1.6.5-1.el8ev Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 ansible 2.9.27-1.el8ae, ovirt-ansible-collection 1.6.5-1.el8ev
    fixed: vendor fix RHSA-2021:4703
  • Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts otopi 1.9.6-2.el8ev, otopi-common 1.9.6-2.el8ev, ovirt-imageio 2.3.0-1.el8ev, python3-otopi 1.9.6-2.el8ev, otopi-debug-plugins 1.9.6-2.el8ev, ovirt-imageio-client 2.3.0-1.el8ev, +2 more Red Hat RHEL 8-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.4.9-2.el8ev, redhat-release-virtualization-host-content 4.4.9-2.el8ev, redhat-virtualization-host-image-update-placeholder 4.4.9-2.el8ev Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 otopi 1.9.6-2.el8ev, otopi-common 1.9.6-2.el8ev, ovirt-imageio 2.3.0-1.el8ev, python3-otopi 1.9.6-2.el8ev, otopi-debug-plugins 1.9.6-2.el8ev, ovirt-imageio-client 2.3.0-1.el8ev, +2 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:P/I:N/A:N
GitHub 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi ansible
<2.9.27
2.9.27

Affected products

  • n/a ansible

Classification

Weakness
  • CWE-209 Generation of Error Message Containing Sensitive Information

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.