CVE-2021-3620
MEDIUM 5.5CVSS 3.1Ansible discloses sensitive information in traceback error message
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.
- Published
- 3 Mar 2022
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-209
- Also known as
- GHSA-4r65-35qq-ch8jPYSEC-2022-164
- Sources
- NVDJSONOSV GHSA-4r65-35qq-ch8jJSONOSV PYSEC-2022-164JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansible_automation_platform_early_accesscpe:2.3:a:redhat:ansible_automation_platform_early_access:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* |
< 2.9.27 | 2.9.27 |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:1:*:*:*:*:*:*:* |
= 1 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:16.1:*:*:*:*:*:*:* |
= 16.1 | |
| NVD | redhat | virtualizationcpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | redhat | virtualization_for_ibm_power_little_endiancpe:2.3:a:redhat:virtualization_for_ibm_power_little_endian:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | redhat | virtualization_hostcpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | redhat | virtualization_managercpe:2.3:a:redhat:virtualization_manager:4.4:*:*:*:*:*:*:* |
= 4.4 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linux_for_power_little_endiancpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| OSV | PyPI | ansible | < 2.9.27 | 2.9.27 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1975767 · Issue Tracking, Patch, Third Party Advisory, WEB, REPORT
- 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 · Patch, Third Party Advisory, WEB, FIX
- 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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 3 Mar 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Mar 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Mar 2022)