# CVE-2021-3620: Ansible discloses sensitive information in traceback error message

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2022-03-03T18:23:38.000Z
- Modified: 2026-06-17T04:05:27.300Z
- Also known as: GHSA-4r65-35qq-ch8j, PYSEC-2022-164
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- ansible: Fixed in Ansible Engine v2.9.27
- ansible (PyPI): before 2.9.27; before fe28767970c8ec62aabe493c46b53a5de1e5fac0
- redhat ansible_automation_platform_early_access: 2.0
- redhat ansible_engine: before 2.9.27
- redhat openstack: 1; 16.1
- redhat virtualization: 4.0
- redhat virtualization_for_ibm_power_little_endian: 4.0
- redhat virtualization_host: 4.0
- redhat virtualization_manager: 4.4
- redhat enterprise_linux: 8.0
- redhat enterprise_linux_for_power_little_endian: 8.0

## Every score

- GitHub: 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`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: 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`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1975767> (issue-tracking, patch, report, third-party-advisory, web)
- <https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes> (release-notes, third-party-advisory, web)
- <https://github.com/ansible/ansible/commit/fe28767970c8ec62aabe493c46b53a5de1e5fac0> (fix, patch, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3620> (advisory)
- <https://access.redhat.com/errata/RHSA-2021:3871> (web)
- <https://access.redhat.com/errata/RHSA-2021:3872> (web)
- <https://access.redhat.com/errata/RHSA-2021:3874> (web)
- <https://access.redhat.com/errata/RHSA-2021:4703> (web)
- <https://access.redhat.com/errata/RHSA-2021:4750> (web)
- <https://access.redhat.com/security/cve/CVE-2021-3620> (web)
- <https://github.com/advisories/GHSA-4r65-35qq-ch8j> (advisory)
- <https://github.com/ansible/ansible> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2022-164.yaml> (web)

## Sources

- CVE List: [CVE-2021-3620](https://www.cve.org/CVERecord?id=CVE-2021-3620), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-4r65-35qq-ch8j](https://github.com/advisories/GHSA-4r65-35qq-ch8j), CC-BY-4.0, modified 2026-02-22
- NVD: [CVE-2021-3620](https://nvd.nist.gov/vuln/detail/CVE-2021-3620), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-164](https://osv.dev/vulnerability/PYSEC-2022-164), CC-BY-4.0, modified 2026-02-22

---

Page: https://cve.day/CVE-2021-3620 · Whole record: https://cve.day/CVE-2021-3620.json · Rebuilt by cve.day 2026-11-25T22:58:07.112Z
