cve.bz

CVE-2021-21238

6.5 mediumEPSS 1.1%

Medium (6.5) in pysaml2 project pysaml2. EPSS 1.1% chance of exploitation in the next 30 days. Fixed in pysaml2 6.5.0.

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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS
1.1% chance of exploitation in the next 30 days; higher than 65% of CVEs (scores of 2026-10-31)
CWE
CWE-347
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f4g9-h89h-jgv9PyPIpysaml2<6.5.06.5.0
PYSEC-2021-48PyPIpysaml2<6.5.06.5.0

References

Check your stackJSON