{"id":"CVE-2021-3620","aliases":["CVE-2021-3620","GHSA-4r65-35qq-ch8j","PYSEC-2022-164"],"related":[],"kind":"vulnerability","state":"published","title":"Ansible discloses sensitive information in traceback error message","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Ansible is an IT automation system that handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. 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 when Ansible receives an unexpected response from `set_options`. The highest threat from this vulnerability is confidentiality.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha encontrado un fallo en el módulo ansible-connection de Ansible Engine, en el que información confidencial, como las credenciales de usuario de Ansible, es revelado por defecto en el mensaje de error de rastreo. La mayor amenaza de esta vulnerabilidad es la confidencialidad","source":"nvd"}],"published":"2022-03-03T18:23:38.000Z","modified":"2026-06-17T04:05:27.300Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","score":2.1,"rating":"LOW"}],"cwes":["CWE-209"],"affected":[{"ranges":[{"version":"Fixed in Ansible Engine v2.9.27","status":"affected"}],"product":"ansible","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.9.27"}],"ecosystem":"PyPI","package":"ansible","purl":"pkg:pypi/ansible","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.0"}],"vendor":"redhat","product":"ansible_automation_platform_early_access","cpe":"cpe:2.3:a:redhat:ansible_automation_platform_early_access:2.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"2.9.27"}],"vendor":"redhat","product":"ansible_engine","cpe":"cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1"},{"status":"affected","version":"16.1"}],"vendor":"redhat","product":"openstack","cpe":"cpe:2.3:a:redhat:openstack:1:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"4.0"}],"vendor":"redhat","product":"virtualization","cpe":"cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"4.0"}],"vendor":"redhat","product":"virtualization_for_ibm_power_little_endian","cpe":"cpe:2.3:a:redhat:virtualization_for_ibm_power_little_endian:4.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"4.0"}],"vendor":"redhat","product":"virtualization_host","cpe":"cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"4.4"}],"vendor":"redhat","product":"virtualization_manager","cpe":"cpe:2.3:a:redhat:virtualization_manager:4.4:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"redhat","product":"enterprise_linux_for_power_little_endian","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"fe28767970c8ec62aabe493c46b53a5de1e5fac0"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.9.27"}],"ecosystem":"PyPI","package":"ansible","purl":"pkg:pypi/ansible","repo":"https://github.com/ansible/ansible","source":"pysec"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1975767","tags":["issue-tracking","patch","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ansible/ansible/commit/fe28767970c8ec62aabe493c46b53a5de1e5fac0","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3620","tags":["advisory"],"sources":["ghsa"]},{"url":"https://access.redhat.com/errata/RHSA-2021:3871","tags":["web"],"sources":["ghsa"]},{"url":"https://access.redhat.com/errata/RHSA-2021:3872","tags":["web"],"sources":["ghsa"]},{"url":"https://access.redhat.com/errata/RHSA-2021:3874","tags":["web"],"sources":["ghsa"]},{"url":"https://access.redhat.com/errata/RHSA-2021:4703","tags":["web"],"sources":["ghsa"]},{"url":"https://access.redhat.com/errata/RHSA-2021:4750","tags":["web"],"sources":["ghsa"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3620","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-4r65-35qq-ch8j","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ansible/ansible","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2022-164.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-15T17:09:25.955Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3620","url":"https://www.cve.org/CVERecord?id=CVE-2021-3620","licence":"CVE Terms of Use","modified":"2025-02-13T16:28:25.255Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4r65-35qq-ch8j","url":"https://github.com/advisories/GHSA-4r65-35qq-ch8j","licence":"CC-BY-4.0","modified":"2026-02-22T22:55:59.003Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3620","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3620","licence":"Public domain","modified":"2026-06-17T04:05:27.300Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-164","url":"https://osv.dev/vulnerability/PYSEC-2022-164","licence":"CC-BY-4.0","modified":"2026-02-22T22:48:40.899Z"}],"updatedAt":"2026-11-25T22:58:07.112Z","epss":{"score":0.0039,"percentile":0.35302,"date":"2026-12-01T12:00:22.000Z"}}