RHSA-2021:3871

Vulnerability from csaf_redhat - Published: 2021-10-14 19:42 - Updated: 2025-11-21 18:25
Summary
Red Hat Security Advisory: Ansible security and bug fix update (2.9.27)

Notes

Topic
An update for ansible is now available for Ansible Engine 2.9 Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
Ansible is a simple model-driven configuration management, multi-node deployment, and remote-task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically. The following packages have been upgraded to a newer upstream version: ansible (2.9.27) Bug Fix(es): * CVE-2021-3620 Ansible: ansible-connection module discloses sensitive info in traceback error message See: https://github.com/ansible/ansible/blob/v2.9.27/changelogs/CHANGELOG-v2.9.rst for details on bug fixes in this release.
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for ansible is now available for Ansible Engine 2.9\n\nRed Hat Product Security has rated this update as having a security impact\nof Important. A Common Vulnerability Scoring System (CVSS) base score,\nwhich gives a detailed severity rating, is available for each vulnerability\nfrom the CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "Ansible is a simple model-driven configuration management, multi-node\ndeployment, and remote-task execution system. Ansible works over SSH and\ndoes not require any software or daemons to be installed on remote nodes.\nExtension modules can be written in any language and are transferred to\nmanaged machines automatically.\n\nThe following packages have been upgraded to a newer upstream version:\nansible (2.9.27)\n\nBug Fix(es):\n* CVE-2021-3620 Ansible: ansible-connection module discloses sensitive info\nin traceback error message\n\nSee:\nhttps://github.com/ansible/ansible/blob/v2.9.27/changelogs/CHANGELOG-v2.9.rst\nfor details on bug fixes in this release.",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2021:3871",
        "url": "https://access.redhat.com/errata/RHSA-2021:3871"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#important",
        "url": "https://access.redhat.com/security/updates/classification/#important"
      },
      {
        "category": "external",
        "summary": "1975767",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1975767"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3871.json"
      }
    ],
    "title": "Red Hat Security Advisory: Ansible security and bug fix update (2.9.27)",
    "tracking": {
      "current_release_date": "2025-11-21T18:25:40+00:00",
      "generator": {
        "date": "2025-11-21T18:25:40+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.12"
        }
      },
      "id": "RHSA-2021:3871",
      "initial_release_date": "2021-10-14T19:42:54+00:00",
      "revision_history": [
        {
          "date": "2021-10-14T19:42:54+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2021-10-14T19:42:54+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2025-11-21T18:25:40+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Ansible Engine 2.9 for RHEL 7 Server",
                "product": {
                  "name": "Red Hat Ansible Engine 2.9 for RHEL 7 Server",
                  "product_id": "7Server-Ansible-2.9",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:ansible_engine:2.9::el7"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat Ansible Engine 2.9 for RHEL 8",
                "product": {
                  "name": "Red Hat Ansible Engine 2.9 for RHEL 8",
                  "product_id": "8Base-Ansible-2.9",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:ansible_engine:2.9::el8"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Ansible Engine"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ansible-0:2.9.27-1.el7ae.src",
                "product": {
                  "name": "ansible-0:2.9.27-1.el7ae.src",
                  "product_id": "ansible-0:2.9.27-1.el7ae.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/ansible@2.9.27-1.el7ae?arch=src"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "ansible-0:2.9.27-1.el8ae.src",
                "product": {
                  "name": "ansible-0:2.9.27-1.el8ae.src",
                  "product_id": "ansible-0:2.9.27-1.el8ae.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/ansible@2.9.27-1.el8ae?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ansible-0:2.9.27-1.el7ae.noarch",
                "product": {
                  "name": "ansible-0:2.9.27-1.el7ae.noarch",
                  "product_id": "ansible-0:2.9.27-1.el7ae.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/ansible@2.9.27-1.el7ae?arch=noarch"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "ansible-test-0:2.9.27-1.el7ae.noarch",
                "product": {
                  "name": "ansible-test-0:2.9.27-1.el7ae.noarch",
                  "product_id": "ansible-test-0:2.9.27-1.el7ae.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/ansible-test@2.9.27-1.el7ae?arch=noarch"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "ansible-0:2.9.27-1.el8ae.noarch",
                "product": {
                  "name": "ansible-0:2.9.27-1.el8ae.noarch",
                  "product_id": "ansible-0:2.9.27-1.el8ae.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/ansible@2.9.27-1.el8ae?arch=noarch"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "ansible-test-0:2.9.27-1.el8ae.noarch",
                "product": {
                  "name": "ansible-test-0:2.9.27-1.el8ae.noarch",
                  "product_id": "ansible-test-0:2.9.27-1.el8ae.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/ansible-test@2.9.27-1.el8ae?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ansible-0:2.9.27-1.el7ae.noarch as a component of Red Hat Ansible Engine 2.9 for RHEL 7 Server",
          "product_id": "7Server-Ansible-2.9:ansible-0:2.9.27-1.el7ae.noarch"
        },
        "product_reference": "ansible-0:2.9.27-1.el7ae.noarch",
        "relates_to_product_reference": "7Server-Ansible-2.9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ansible-0:2.9.27-1.el7ae.src as a component of Red Hat Ansible Engine 2.9 for RHEL 7 Server",
          "product_id": "7Server-Ansible-2.9:ansible-0:2.9.27-1.el7ae.src"
        },
        "product_reference": "ansible-0:2.9.27-1.el7ae.src",
        "relates_to_product_reference": "7Server-Ansible-2.9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ansible-test-0:2.9.27-1.el7ae.noarch as a component of Red Hat Ansible Engine 2.9 for RHEL 7 Server",
          "product_id": "7Server-Ansible-2.9:ansible-test-0:2.9.27-1.el7ae.noarch"
        },
        "product_reference": "ansible-test-0:2.9.27-1.el7ae.noarch",
        "relates_to_product_reference": "7Server-Ansible-2.9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ansible-0:2.9.27-1.el8ae.noarch as a component of Red Hat Ansible Engine 2.9 for RHEL 8",
          "product_id": "8Base-Ansible-2.9:ansible-0:2.9.27-1.el8ae.noarch"
        },
        "product_reference": "ansible-0:2.9.27-1.el8ae.noarch",
        "relates_to_product_reference": "8Base-Ansible-2.9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ansible-0:2.9.27-1.el8ae.src as a component of Red Hat Ansible Engine 2.9 for RHEL 8",
          "product_id": "8Base-Ansible-2.9:ansible-0:2.9.27-1.el8ae.src"
        },
        "product_reference": "ansible-0:2.9.27-1.el8ae.src",
        "relates_to_product_reference": "8Base-Ansible-2.9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ansible-test-0:2.9.27-1.el8ae.noarch as a component of Red Hat Ansible Engine 2.9 for RHEL 8",
          "product_id": "8Base-Ansible-2.9:ansible-test-0:2.9.27-1.el8ae.noarch"
        },
        "product_reference": "ansible-test-0:2.9.27-1.el8ae.noarch",
        "relates_to_product_reference": "8Base-Ansible-2.9"
      }
    ]
  },
  "vulnerabilities": [
    {
      "acknowledgments": [
        {
          "names": [
            "Dalton Rardin"
          ]
        }
      ],
      "cve": "CVE-2021-3620",
      "cwe": {
        "id": "CWE-209",
        "name": "Generation of Error Message Containing Sensitive Information"
      },
      "discovery_date": "2021-06-09T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1975767"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in Ansible Engine\u0027s 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.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "Ansible: ansible-connection module discloses sensitive info in traceback error message",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "Red Hat Gluster Storage 3 no longer maintains its own version of Ansible. The prerequisite is to enable the Ansible repository in order to consume the latest version of Ansible, which has many bug and security fixes.\n\nRed Hat Ceph Storage 2 only provides fixes for bugs on an as-requested basis by a customer, and will not be fixed after discussion with engineering about the viability of a fix. Red Hat Ceph Storage 3 does not directly ship ansible, and thus is closed as won\u0027t fix.\n\nRed Hat Virtualization ships an affected version of ansible, however, the usage of ansible on the redhat-virtualization-host is only supported for self-hosted-engine installation and disaster recovery, where it is run locally. As such Impact is rated Moderate.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "7Server-Ansible-2.9:ansible-0:2.9.27-1.el7ae.noarch",
          "7Server-Ansible-2.9:ansible-0:2.9.27-1.el7ae.src",
          "7Server-Ansible-2.9:ansible-test-0:2.9.27-1.el7ae.noarch",
          "8Base-Ansible-2.9:ansible-0:2.9.27-1.el8ae.noarch",
          "8Base-Ansible-2.9:ansible-0:2.9.27-1.el8ae.src",
          "8Base-Ansible-2.9:ansible-test-0:2.9.27-1.el8ae.noarch"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-3620"
        },
        {
          "category": "external",
          "summary": "RHBZ#1975767",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1975767"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2021-3620",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-3620"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-3620",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3620"
        }
      ],
      "release_date": "2021-06-25T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2021-10-14T19:42:54+00:00",
          "details": "For details on how to apply this update, which includes the changes\ndescribed in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
          "product_ids": [
            "7Server-Ansible-2.9:ansible-0:2.9.27-1.el7ae.noarch",
            "7Server-Ansible-2.9:ansible-0:2.9.27-1.el7ae.src",
            "7Server-Ansible-2.9:ansible-test-0:2.9.27-1.el7ae.noarch",
            "8Base-Ansible-2.9:ansible-0:2.9.27-1.el8ae.noarch",
            "8Base-Ansible-2.9:ansible-0:2.9.27-1.el8ae.src",
            "8Base-Ansible-2.9:ansible-test-0:2.9.27-1.el8ae.noarch"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2021:3871"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 5.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "products": [
            "7Server-Ansible-2.9:ansible-0:2.9.27-1.el7ae.noarch",
            "7Server-Ansible-2.9:ansible-0:2.9.27-1.el7ae.src",
            "7Server-Ansible-2.9:ansible-test-0:2.9.27-1.el7ae.noarch",
            "8Base-Ansible-2.9:ansible-0:2.9.27-1.el8ae.noarch",
            "8Base-Ansible-2.9:ansible-0:2.9.27-1.el8ae.src",
            "8Base-Ansible-2.9:ansible-test-0:2.9.27-1.el8ae.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ],
      "title": "Ansible: ansible-connection module discloses sensitive info in traceback error message"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…