CVE-2021-21238

Source
https://cve.org/CVERecord?id=CVE-2021-21238
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21238.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-21238
Aliases
Downstream
Related
Published
2021-01-21T15:15:14.110Z
Modified
2026-02-05T03:00:33.253278Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/identitypython/pysaml2

Affected ranges

Type
GIT
Repo
https://github.com/identitypython/pysaml2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*
0.1
0.2
0.4
0.4.1
0.4.2
1.*
1.0.0
1.0.1
2.*
2.0.0
2.1.0
2.3.0
2.4.0
3.*
3.0.0
4.*
4.0.0
v1.*
v1.0.3
v2.*
v2.2.0
v3.*
v3.0.2
v4.*
v4.1.0
v4.2.0
v4.3.0
v4.4.0
v4.5.0
v4.6.0
v4.6.1
v4.6.2
v4.6.3
v4.6.4
v4.6.5
v4.7.0
v4.8.0
v4.9.0
v5.*
v5.0.0
v5.1.0
v5.2.0
v5.3.0
v5.4.0
v6.*
v6.0.0
v6.1.0
v6.2.0
v6.3.0
v6.3.1
v6.4.0
v6.4.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21238.json"