{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "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": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-21238.json"
      }
    ],
    "title": "python-pysaml2: processing of invalid SAML XML documents",
    "tracking": {
      "current_release_date": "2025-11-21T16:05:52+00:00",
      "generator": {
        "date": "2025-11-21T16:05:52+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.12"
        }
      },
      "id": "CVE-2021-21238",
      "initial_release_date": "2021-01-21T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2021-01-21T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2021-11-22T00:18:54+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2025-11-21T16:05:52+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 10 (Newton)",
                "product": {
                  "name": "Red Hat OpenStack Platform 10 (Newton)",
                  "product_id": "red_hat_openstack_platform_10_(newton)",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openstack:10"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenStack Platform 10 (Newton)"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat OpenStack Platform 13 (Queens)",
                "product": {
                  "name": "Red Hat OpenStack Platform 13 (Queens)",
                  "product_id": "red_hat_openstack_platform_13_(queens)",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openstack:13"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenStack Platform 13 (Queens)"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat OpenStack Platform 16.1",
                "product": {
                  "name": "Red Hat OpenStack Platform 16.1",
                  "product_id": "red_hat_openstack_platform_16.1",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openstack:16.1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenStack Platform 16.1"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat OpenStack Platform 16.2",
                "product": {
                  "name": "Red Hat OpenStack Platform 16.2",
                  "product_id": "red_hat_openstack_platform_16.2",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openstack:16.2"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenStack Platform 16.2"
          },
          {
            "category": "product_version",
            "name": "python-pysaml2",
            "product": {
              "name": "python-pysaml2",
              "product_id": "python-pysaml2",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python-pysaml2"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python-pysaml2.src",
            "product": {
              "name": "python-pysaml2.src",
              "product_id": "python-pysaml2.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python-pysaml2?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python3-pysaml2",
            "product": {
              "name": "python3-pysaml2",
              "product_id": "python3-pysaml2",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python3-pysaml2"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pysaml2 as a component of Red Hat OpenStack Platform 10 (Newton)",
          "product_id": "red_hat_openstack_platform_10_(newton):python-pysaml2"
        },
        "product_reference": "python-pysaml2",
        "relates_to_product_reference": "red_hat_openstack_platform_10_(newton)"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pysaml2.src as a component of Red Hat OpenStack Platform 10 (Newton)",
          "product_id": "red_hat_openstack_platform_10_(newton):python-pysaml2.src"
        },
        "product_reference": "python-pysaml2.src",
        "relates_to_product_reference": "red_hat_openstack_platform_10_(newton)"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pysaml2 as a component of Red Hat OpenStack Platform 13 (Queens)",
          "product_id": "red_hat_openstack_platform_13_(queens):python-pysaml2"
        },
        "product_reference": "python-pysaml2",
        "relates_to_product_reference": "red_hat_openstack_platform_13_(queens)"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-pysaml2 as a component of Red Hat OpenStack Platform 16.1",
          "product_id": "red_hat_openstack_platform_16.1:python3-pysaml2"
        },
        "product_reference": "python3-pysaml2",
        "relates_to_product_reference": "red_hat_openstack_platform_16.1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-pysaml2 as a component of Red Hat OpenStack Platform 16.2",
          "product_id": "red_hat_openstack_platform_16.2:python3-pysaml2"
        },
        "product_reference": "python3-pysaml2",
        "relates_to_product_reference": "red_hat_openstack_platform_16.2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-21238",
      "cwe": {
        "id": "CWE-347",
        "name": "Improper Verification of Cryptographic Signature"
      },
      "discovery_date": "2021-09-24T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2007591"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A verification flaw was found in python-pysaml2, where it did not validate signed SAML documents against an XML schema. Because the flaw allowed invalid XML documents to be processed, a network attacker could exploit this flaw by tricking pysaml2 with a wrapped signature.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "python-pysaml2: processing of invalid SAML XML documents",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "All versions of Red Hat OpenStack Platform ship but do not use the flawed check-signature functionality of python-pysaml2. The impact for these products is therefore rated as having a security impact of Low and will not be updated at this time.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "red_hat_openstack_platform_10_(newton):python-pysaml2",
          "red_hat_openstack_platform_10_(newton):python-pysaml2.src",
          "red_hat_openstack_platform_13_(queens):python-pysaml2",
          "red_hat_openstack_platform_16.1:python3-pysaml2",
          "red_hat_openstack_platform_16.2:python3-pysaml2"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-21238"
        },
        {
          "category": "external",
          "summary": "RHBZ#2007591",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2007591"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2021-21238",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-21238"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-21238",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21238"
        }
      ],
      "release_date": "2021-01-21T00:00:00+00:00",
      "remediations": [
        {
          "category": "workaround",
          "details": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
          "product_ids": [
            "red_hat_openstack_platform_10_(newton):python-pysaml2",
            "red_hat_openstack_platform_10_(newton):python-pysaml2.src",
            "red_hat_openstack_platform_13_(queens):python-pysaml2",
            "red_hat_openstack_platform_16.1:python3-pysaml2",
            "red_hat_openstack_platform_16.2:python3-pysaml2"
          ]
        },
        {
          "category": "no_fix_planned",
          "details": "Out of support scope",
          "product_ids": [
            "red_hat_openstack_platform_10_(newton):python-pysaml2",
            "red_hat_openstack_platform_10_(newton):python-pysaml2.src",
            "red_hat_openstack_platform_13_(queens):python-pysaml2"
          ]
        },
        {
          "category": "no_fix_planned",
          "details": "Will not fix",
          "product_ids": [
            "red_hat_openstack_platform_16.1:python3-pysaml2",
            "red_hat_openstack_platform_16.2:python3-pysaml2"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
            "version": "3.1"
          },
          "products": [
            "red_hat_openstack_platform_10_(newton):python-pysaml2",
            "red_hat_openstack_platform_10_(newton):python-pysaml2.src",
            "red_hat_openstack_platform_13_(queens):python-pysaml2",
            "red_hat_openstack_platform_16.1:python3-pysaml2",
            "red_hat_openstack_platform_16.2:python3-pysaml2"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low",
          "product_ids": [
            "red_hat_openstack_platform_10_(newton):python-pysaml2",
            "red_hat_openstack_platform_10_(newton):python-pysaml2.src",
            "red_hat_openstack_platform_13_(queens):python-pysaml2",
            "red_hat_openstack_platform_16.1:python3-pysaml2",
            "red_hat_openstack_platform_16.2:python3-pysaml2"
          ]
        }
      ],
      "title": "python-pysaml2: processing of invalid SAML XML documents"
    }
  ]
}