{"answers":{"affected":"3 open source packages ship an affected version, including ansible. It affects 9 products.","exploited":"There is no known exploitation of CVE-2021-3620 in the wild and no public exploit code.","fix":"Upgrade ansible to 2.9.27 or later.","what":"CVE-2021-3620 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 3 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3620 and fix it if it is affected.\n\nWhat it is: CVE-2021-3620 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 3 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-3620 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ansible (PyPI): affected all versions; fixed in 2.9.27\n- ansible (PyPI): affected all versions; fixed in 2.9.27\n- ansible (PyPI): affected all versions; fixed in 2.9.27\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-3620/ (Markdown: https://insights.sbomify.com/CVE-2021-3620/index.md)","id":"CVE-2021-3620","markdown":"https://insights.sbomify.com/CVE-2021-3620/index.md","name":"CVE-2021-3620","record":{"aliases":["DEBIAN-CVE-2021-3620","GHSA-4r65-35qq-ch8j","MGASA-2021-0487","PYSEC-2022-164","RHSA-2021:3871","RHSA-2021:3872","RHSA-2021:3874","RHSA-2021:4703","UBUNTU-CVE-2021-3620"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Ansible Engine","requires_auth":"low_privilege","summary":"Ansible Engine discloses sensitive user credentials in traceback error messages, allowing attackers to read confidential data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"ansible_automation_platform_early_access","vendor":"redhat"},{"product":"ansible_engine","vendor":"redhat"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian","vendor":"redhat"},{"product":"openstack","vendor":"redhat"},{"product":"virtualization","vendor":"redhat"},{"product":"virtualization_for_ibm_power_little_endian","vendor":"redhat"},{"product":"virtualization_host","vendor":"redhat"},{"product":"virtualization_manager","vendor":"redhat"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"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.","ecosystems":["PyPI","Red Hat:ansible_automation_platform:2.0::el8","Red Hat:ansible_engine:2.9::el7","Red Hat:ansible_engine:2.9::el8","Red Hat:ansible_engine:2::el7","Red Hat:ansible_engine:2::el8","Red Hat:rhev_hypervisor:4.4::el8","Red Hat:rhev_manager:4.4:el8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Ansible discloses sensitive information in traceback error message","id":"CVE-2021-3620","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"redhat:enterprise_linux","products":["redhat:enterprise_linux","redhat:enterprise_linux_for_power_little_endian","redhat:openstack","redhat:virtualization","redhat:virtualization_host"],"type":"information_disclosure","year":"2021"},"n_packages":18,"n_references":4,"next":{"headline":"Command injection in sssd","id":"CVE-2021-3621"},"packages":[{"ecosystem":"PyPI","fixed":["2.9.27"],"introduced":["0"],"last_affected":[],"package":"ansible","purl":null,"source":"GHSA-4r65-35qq-ch8j"},{"ecosystem":"PyPI","fixed":["2.9.27"],"introduced":["0"],"last_affected":[],"package":"ansible","purl":"pkg:pypi/ansible","source":"GHSA-4r65-35qq-ch8j"},{"ecosystem":"PyPI","fixed":["2.9.27"],"introduced":["0"],"last_affected":[],"package":"ansible","purl":"pkg:pypi/ansible","source":"PYSEC-2022-164"},{"ecosystem":"Red Hat:ansible_automation_platform:2.0::el8","fixed":["0:2.9.27-1.el8ap"],"introduced":["0"],"last_affected":[],"package":"ansible","purl":"pkg:rpm/redhat/ansible","source":"RHSA-2021:3874"},{"ecosystem":"Red Hat:ansible_automation_platform:2.0::el8","fixed":["0:2.11.6-1.el8ap"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/redhat/ansible-core","source":"RHSA-2021:3874"},{"ecosystem":"Red Hat:ansible_automation_platform:2.0::el8","fixed":["0:2.11.6-1.el8ap"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/redhat/ansible-test","source":"RHSA-2021:3874"},{"ecosystem":"Red Hat:ansible_engine:2.9::el7","fixed":["0:2.9.27-1.el7ae"],"introduced":["0"],"last_affected":[],"package":"ansible","purl":"pkg:rpm/redhat/ansible","source":"RHSA-2021:3871"},{"ecosystem":"Red Hat:ansible_engine:2.9::el7","fixed":["0:2.9.27-1.el7ae"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/redhat/ansible-test","source":"RHSA-2021:3871"},{"ecosystem":"Red Hat:ansible_engine:2.9::el8","fixed":["0:2.9.27-1.el8ae"],"introduced":["0"],"last_affected":[],"package":"ansible","purl":"pkg:rpm/redhat/ansible","source":"RHSA-2021:3871"},{"ecosystem":"Red Hat:ansible_engine:2.9::el8","fixed":["0:2.9.27-1.el8ae"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/redhat/ansible-test","source":"RHSA-2021:3871"},{"ecosystem":"Red Hat:ansible_engine:2::el7","fixed":["0:2.9.27-1.el7ae"],"introduced":["0"],"last_affected":[],"package":"ansible","purl":"pkg:rpm/redhat/ansible","source":"RHSA-2021:3872"},{"ecosystem":"Red Hat:ansible_engine:2::el7","fixed":["0:2.9.27-1.el7ae"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/redhat/ansible-test","source":"RHSA-2021:3872"},{"ecosystem":"Red Hat:ansible_engine:2::el8","fixed":["0:2.9.27-1.el8ae"],"introduced":["0"],"last_affected":[],"package":"ansible","purl":"pkg:rpm/redhat/ansible","source":"RHSA-2021:3872"},{"ecosystem":"Red Hat:ansible_engine:2::el8","fixed":["0:2.9.27-1.el8ae"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/redhat/ansible-test","source":"RHSA-2021:3872"},{"ecosystem":"Red Hat:rhev_hypervisor:4.4::el8","fixed":["0:2.9.27-1.el8ae"],"introduced":["0"],"last_affected":[],"package":"ansible","purl":"pkg:rpm/redhat/ansible","source":"RHSA-2021:4703"},{"ecosystem":"Red Hat:rhev_hypervisor:4.4::el8","fixed":["0:1.6.5-1.el8ev"],"introduced":["0"],"last_affected":[],"package":"ovirt-ansible-collection","purl":"pkg:rpm/redhat/ovirt-ansible-collection","source":"RHSA-2021:4703"},{"ecosystem":"Red Hat:rhev_manager:4.4:el8","fixed":["0:2.9.27-1.el8ae"],"introduced":["0"],"last_affected":[],"package":"ansible","purl":"pkg:rpm/redhat/ansible","source":"RHSA-2021:4703"},{"ecosystem":"Red Hat:rhev_manager:4.4:el8","fixed":["0:1.6.5-1.el8ev"],"introduced":["0"],"last_affected":[],"package":"ovirt-ansible-collection","purl":"pkg:rpm/redhat/ovirt-ansible-collection","source":"RHSA-2021:4703"}],"prev":{"headline":"Rapid7 Velociraptor Notebooks Authenticated Persistent XSS","id":"CVE-2021-3619"},"products":["ansible"],"published":"2022-03-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["n/a"]},"summary":"Ansible Engine discloses sensitive user credentials in traceback error messages, allowing attackers to read confidential data.","url":"https://insights.sbomify.com/CVE-2021-3620/"}