PySAML2 is a pure python implementation of SAML Version 2 Standard. PySAML2 before 6.5.0 has an improper verification of cryptographic signature vulnerability. All users of pysaml2 that need to validate signed SAML documents are impacted. The vulnerability is a variant of XML Signature wrapping because it did not validate the SAML document against an XML schema. This allowed invalid XML documents to be processed and such a document can trick pysaml2 with a wrapped signature. This is fixed in PySAML2 6.5.0.
Advisories
Source ID Title
EUVD EUVD EUVD-2021-0210 PySAML2 is a pure python implementation of SAML Version 2 Standard. PySAML2 before 6.5.0 has an improper verification of cryptographic signature vulnerability. All users of pysaml2 that need to validate signed SAML documents are impacted. The vulnerability is a variant of XML Signature wrapping because it did not validate the SAML document against an XML schema. This allowed invalid XML documents to be processed and such a document can trick pysaml2 with a wrapped signature. This is fixed in PySAML2 6.5.0.
Github GHSA Github GHSA GHSA-f4g9-h89h-jgv9 SAML XML Signature wrapping in PySAML2
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-03T18:09:15.156Z

Reserved: 2020-12-22T00:00:00

Link: CVE-2021-21238

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-01-21T15:15:14.110

Modified: 2024-11-21T05:47:50.410

Link: CVE-2021-21238

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-01-21T00:00:00Z

Links: CVE-2021-21238 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses