rhsa-2024_2733
Vulnerability from csaf_redhat
Published
2024-05-22 20:37
Modified
2024-11-13 21:10
Summary
Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (openstack-ansible-core) security update

Notes

Topic
An update for openstack-ansible-core is now available for Red Hat OpenStack Platform 17.1 (Wallaby). Red Hat Product Security has rated this update as having a security impact of Moderate. 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
An ansible-core rebuild for OpenStack based on python 3.9. Security Fix(es): * HTML attribute injection when passing user input as keys to xmlattr filter (CVE-2024-22195) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page listed in the References section.
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": "Moderate"
    },
    "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 openstack-ansible-core is now available for Red Hat OpenStack\nPlatform 17.1 (Wallaby).\n\nRed Hat Product Security has rated this update as having a security impact\nof Moderate. A Common Vulnerability Scoring System (CVSS) base score, which\ngives a detailed severity rating, is available for each vulnerability from\nthe CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "An ansible-core rebuild for OpenStack based on python 3.9.\n\nSecurity Fix(es):\n\n* HTML attribute injection when passing user input as keys to xmlattr\nfilter (CVE-2024-22195)\n\nFor more details about the security issue(s), including the impact, a CVSS\nscore, acknowledgments, and other related information, refer to the CVE\npage listed in the References section.",
        "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-2024:2733",
        "url": "https://access.redhat.com/errata/RHSA-2024:2733"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#moderate",
        "url": "https://access.redhat.com/security/updates/classification/#moderate"
      },
      {
        "category": "external",
        "summary": "2233300",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2233300"
      },
      {
        "category": "external",
        "summary": "2257854",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2257854"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_2733.json"
      }
    ],
    "title": "Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (openstack-ansible-core) security update",
    "tracking": {
      "current_release_date": "2024-11-13T21:10:11+00:00",
      "generator": {
        "date": "2024-11-13T21:10:11+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.2.0"
        }
      },
      "id": "RHSA-2024:2733",
      "initial_release_date": "2024-05-22T20:37:57+00:00",
      "revision_history": [
        {
          "date": "2024-05-22T20:37:57+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2024-05-22T20:37:57+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-11-13T21:10:11+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat OpenStack Platform 17.1",
                "product": {
                  "name": "Red Hat OpenStack Platform 17.1",
                  "product_id": "9Base-RHOS-17.1",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openstack:17.1::el9"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat OpenStack Platform 17.1",
                "product": {
                  "name": "Red Hat OpenStack Platform 17.1",
                  "product_id": "9Base-RHOS-DEPLOYMENT-TOOLS-17.1",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openstack:17.1::el9"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat OpenStack Platform 17.1",
                "product": {
                  "name": "Red Hat OpenStack Platform 17.1",
                  "product_id": "9Base-RHOS-TOOLS-17.1",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openstack:17.1::el9"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenStack Platform"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
                "product": {
                  "name": "openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
                  "product_id": "openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/openstack-ansible-core@2.14.2-4.3.el9ost?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
                "product": {
                  "name": "openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
                  "product_id": "openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/openstack-ansible-core@2.14.2-4.3.el9ost?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openstack-ansible-core-0:2.14.2-4.3.el9ost.src as a component of Red Hat OpenStack Platform 17.1",
          "product_id": "9Base-RHOS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src"
        },
        "product_reference": "openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
        "relates_to_product_reference": "9Base-RHOS-17.1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64 as a component of Red Hat OpenStack Platform 17.1",
          "product_id": "9Base-RHOS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64"
        },
        "product_reference": "openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
        "relates_to_product_reference": "9Base-RHOS-17.1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openstack-ansible-core-0:2.14.2-4.3.el9ost.src as a component of Red Hat OpenStack Platform 17.1",
          "product_id": "9Base-RHOS-DEPLOYMENT-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src"
        },
        "product_reference": "openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
        "relates_to_product_reference": "9Base-RHOS-DEPLOYMENT-TOOLS-17.1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64 as a component of Red Hat OpenStack Platform 17.1",
          "product_id": "9Base-RHOS-DEPLOYMENT-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64"
        },
        "product_reference": "openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
        "relates_to_product_reference": "9Base-RHOS-DEPLOYMENT-TOOLS-17.1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openstack-ansible-core-0:2.14.2-4.3.el9ost.src as a component of Red Hat OpenStack Platform 17.1",
          "product_id": "9Base-RHOS-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src"
        },
        "product_reference": "openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
        "relates_to_product_reference": "9Base-RHOS-TOOLS-17.1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64 as a component of Red Hat OpenStack Platform 17.1",
          "product_id": "9Base-RHOS-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64"
        },
        "product_reference": "openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
        "relates_to_product_reference": "9Base-RHOS-TOOLS-17.1"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2024-22195",
      "cwe": {
        "id": "CWE-79",
        "name": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"
      },
      "discovery_date": "2024-01-11T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2257854"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A  cross-site scripting (XSS) flaw was found in Jinja2 due to the xmlattr filter allowing keys with spaces, contrary to XML/HTML attribute standards. If an application accepts user-input keys and renders them for other users, attackers can inject additional attributes, potentially leading to XSS. This misuse of the xmlattr filter enables the injection of arbitrary HTML attributes, bypassing auto-escaping and potentially circumventing attribute validation checks.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "jinja2: HTML attribute injection when passing user input as keys to xmlattr filter",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "The identified issue is classified as moderate due to a cross-site scripting (XSS) vulnerability in Jinja2. This flaw arises from the xmlattr filter, which permits keys with spaces, contrary to XML/HTML attribute standards. In scenarios where an application accepts user-input keys and renders them for other users, attackers can exploit this vulnerability to inject additional attributes, potentially resulting in XSS attacks. The misuse of the xmlattr filter facilitates the injection of arbitrary HTML attributes, allowing attackers to bypass auto-escaping mechanisms and potentially evade attribute validation checks, posing a moderate security risk.",
          "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": [
          "9Base-RHOS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
          "9Base-RHOS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
          "9Base-RHOS-DEPLOYMENT-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
          "9Base-RHOS-DEPLOYMENT-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
          "9Base-RHOS-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
          "9Base-RHOS-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2024-22195"
        },
        {
          "category": "external",
          "summary": "RHBZ#2257854",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2257854"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2024-22195",
          "url": "https://www.cve.org/CVERecord?id=CVE-2024-22195"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2024-22195",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-22195"
        },
        {
          "category": "external",
          "summary": "https://github.com/pallets/jinja/releases/tag/3.1.3",
          "url": "https://github.com/pallets/jinja/releases/tag/3.1.3"
        },
        {
          "category": "external",
          "summary": "https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95",
          "url": "https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95"
        }
      ],
      "release_date": "2024-01-11T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2024-05-22T20:37:57+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": [
            "9Base-RHOS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
            "9Base-RHOS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
            "9Base-RHOS-DEPLOYMENT-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
            "9Base-RHOS-DEPLOYMENT-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
            "9Base-RHOS-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
            "9Base-RHOS-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2024:2733"
        },
        {
          "category": "workaround",
          "details": "Mitigation for this issue is either not available or the currently available options don\u0027t meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
          "product_ids": [
            "9Base-RHOS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
            "9Base-RHOS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
            "9Base-RHOS-DEPLOYMENT-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
            "9Base-RHOS-DEPLOYMENT-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
            "9Base-RHOS-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
            "9Base-RHOS-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
            "version": "3.1"
          },
          "products": [
            "9Base-RHOS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
            "9Base-RHOS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
            "9Base-RHOS-DEPLOYMENT-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
            "9Base-RHOS-DEPLOYMENT-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64",
            "9Base-RHOS-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.src",
            "9Base-RHOS-TOOLS-17.1:openstack-ansible-core-0:2.14.2-4.3.el9ost.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "jinja2: HTML attribute injection when passing user input as keys to xmlattr filter"
    }
  ]
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.