Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3620

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3620
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:55 UTC · Revision 1

Source evidence

CVE-2021-3620

core-osv · Original source

Published 3 Mar 2022, 19:15 UTC

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.

osv:CVE-2021-3620
Complete source record
{
  "id": "5d1a2d10fbdbd2b258685f1752ff62a1e2a5db513577fbeee36b3cc710fbdf08",
  "url": "https://osv.dev/vulnerability/CVE-2021-3620",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3620",
    "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.",
    "evidence": "osv:CVE-2021-3620",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-3620",
      "aliases": [
        "CVE-2021-3620",
        "GHSA-4r65-35qq-ch8j",
        "PYSEC-2022-164"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ansible/ansible",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2685efe544c500bc5b2e3cbb0d7d594b7c81273b"
                },
                {
                  "fixed": "fe28767970c8ec62aabe493c46b53a5de1e5fac0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.9.27"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fe28767970c8ec62aabe493c46b53a5de1e5fac0"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.9.27rc1",
            "v2.9.26",
            "v2.9.26rc1",
            "v2.9.25",
            "v2.9.25rc1",
            "v2.9.24",
            "v2.9.24rc1",
            "v2.9.23",
            "v2.9.23rc1",
            "v2.9.22",
            "v2.9.22rc1",
            "v2.9.21",
            "v2.9.21rc1",
            "v2.9.20",
            "v2.9.20rc1",
            "v2.9.19",
            "v2.9.19rc1",
            "v2.9.18",
            "v2.9.18rc1",
            "v2.9.17",
            "v2.9.17rc1",
            "v2.9.16",
            "v2.9.16rc1",
            "v2.9.15",
            "v2.9.15rc1",
            "v2.9.14",
            "v2.9.14rc1",
            "v2.9.13",
            "v2.9.12",
            "v2.9.11",
            "v2.9.10",
            "v2.9.9",
            "v2.9.8",
            "v2.9.7",
            "v2.9.6",
            "v2.9.5",
            "v2.9.4",
            "v2.9.3",
            "v2.9.2",
            "v2.9.1",
            "v2.9.0",
            "v2.9.0rc5",
            "v2.9.0rc4",
            "v2.9.0rc3",
            "v2.9.0rc2",
            "v2.9.0rc1",
            "v2.9.0b1",
            "stable-2.9-branchpoint",
            "v2.8.0a1",
            "v2.7.0.a1",
            "v2.6.0a1",
            "v2.0.0-0.5.beta3",
            "v2.0.0-0.4.beta2",
            "v2.0.0-0.3.beta1",
            "v2.0.0-0.2.alpha2",
            "v2.0.0-0.1.alpha1",
            "v1.6.0",
            "v1.4.0",
            "v1.2",
            "v1.1",
            "v1.0",
            "0.7",
            "0.3",
            "0.0.1",
            "0.01"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3620.json"
          }
        }
      ],
      "modified": "2026-10-24T10:50:42.246560421Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html",
        "https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1975767",
        "https://github.com/ansible/ansible/commit/fe28767970c8ec62aabe493c46b53a5de1e5fac0"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:redhat:ansible_automation_platform_early_access:2.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:ansible_automation_platform_early_access",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0"
                  },
                  {
                    "last_affected": "2.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_for_power_little_endian",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:openstack:16.1:*:*:*:*:*:*:*",
              "cpe:2.3:a:redhat:openstack:1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:openstack",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1"
                  },
                  {
                    "last_affected": "1"
                  },
                  {
                    "introduced": "16.1"
                  },
                  {
                    "last_affected": "16.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:virtualization",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:virtualization_for_ibm_power_little_endian:4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:virtualization_for_ibm_power_little_endian",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:virtualization_host",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:virtualization_manager:4.4:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:virtualization_manager",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.4"
                  },
                  {
                    "last_affected": "4.4"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3620",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442494,
  "published_at": "2022-03-03T19:15:08.237+00:00"
}