QID 982964

QID 982964: Python (pip) Security Update for pysaml2 (GHSA-f4g9-h89h-jgv9)

Security update has been released for pysaml2 to fix the vulnerability.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

All users of pysaml2 that use the default `CryptoBackendXmlSec1` backend and need to verify signed SAML documents are impacted. `pysaml2 <= 6.4.1` does not validate the SAML document against an XML schema. This allows invalid XML documents to trick the verification process, by presenting elements with a valid signature inside elements whose content has been malformed. The verification is offloaded to `xmlsec1` and `xmlsec1` will not validate every signature in the given document, but only the first it finds in the given scope.

  • CVSS V3 rated as High - 6.5 severity.
  • CVSS V2 rated as Medium - 4.3 severity.
  • Solution
    Users should upgrade to pysaml2 `v6.5.0`.Workaround:
    No workaround provided at this point.
    Vendor References

    CVEs related to QID 982964

    Software Advisories
    Advisory ID Software Component Link
    GHSA-f4g9-h89h-jgv9 pysaml2 URL Logo github.com/advisories/GHSA-f4g9-h89h-jgv9