CVE-2021-21238
published medium CVSS 3.1 · 6.5SAML XML Signature wrapping
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| IdentityPython | — | pysaml2< 6.5.0 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | py3-saml2 | Fixed | 6.5.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-pysaml2aarch64 | Advisory build | 7.4.2-1.2 | OPENSUSE-SU-2024:14156-1 |
| Alpine Linux | v3.14 | py3-saml2 | Fixed | 6.5.0-r0 | Package fix record |
| Alpine Linux | v3.15 | py3-saml2 | Fixed | 6.5.0-r0 | Package fix record |
| Alpine Linux | v3.16 | py3-saml2 | Fixed | 6.5.0-r0 | Package fix record |
| Alpine Linux | v3.17 | py3-saml2 | Fixed | 6.5.0-r0 | Package fix record |
| Alpine Linux | v3.18 | py3-saml2 | Fixed | 6.5.0-r0 | Package fix record |
Show 37 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | py3-saml2 | Fixed | 6.5.0-r0 | Package fix record |
| Alpine Linux | v3.20 | py3-saml2 | Fixed | 6.5.0-r0 | Package fix record |
| Alpine Linux | v3.21 | py3-saml2 | Fixed | 6.5.0-r0 | Package fix record |
| Alpine Linux | v3.22 | py3-saml2 | Fixed | 6.5.0-r0 | Package fix record |
| Alpine Linux | v3.23 | py3-saml2 | Fixed | 6.5.0-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-saml2 | Fixed | 6.5.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-pysaml2ppc64le | Advisory build | 7.4.2-1.2 | OPENSUSE-SU-2024:14156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-pysaml2s390x | Advisory build | 7.4.2-1.2 | OPENSUSE-SU-2024:14156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-pysaml2x86_64 | Advisory build | 7.4.2-1.2 | OPENSUSE-SU-2024:14156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pysaml2aarch64 | Advisory build | 7.4.2-1.2 | OPENSUSE-SU-2024:14156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pysaml2ppc64le | Advisory build | 7.4.2-1.2 | OPENSUSE-SU-2024:14156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pysaml2s390x | Advisory build | 7.4.2-1.2 | OPENSUSE-SU-2024:14156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pysaml2x86_64 | Advisory build | 7.4.2-1.2 | OPENSUSE-SU-2024:14156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pysaml2aarch64 | Advisory build | 7.4.2-1.2 | OPENSUSE-SU-2024:14156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pysaml2ppc64le | Advisory build | 7.4.2-1.2 | OPENSUSE-SU-2024:14156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pysaml2s390x | Advisory build | 7.4.2-1.2 | OPENSUSE-SU-2024:14156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pysaml2x86_64 | Advisory build | 7.4.2-1.2 | OPENSUSE-SU-2024:14156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pysaml2aarch64 | Advisory build | 7.5.4-1.1 | OPENSUSE-SU-2026:11524-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pysaml2ppc64le | Advisory build | 7.5.4-1.1 | OPENSUSE-SU-2026:11524-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pysaml2s390x | Advisory build | 7.5.4-1.1 | OPENSUSE-SU-2026:11524-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pysaml2x86_64 | Advisory build | 7.5.4-1.1 | OPENSUSE-SU-2026:11524-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pysaml2aarch64 | Advisory build | 7.5.4-1.1 | OPENSUSE-SU-2026:11524-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pysaml2ppc64le | Advisory build | 7.5.4-1.1 | OPENSUSE-SU-2026:11524-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pysaml2s390x | Advisory build | 7.5.4-1.1 | OPENSUSE-SU-2026:11524-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pysaml2x86_64 | Advisory build | 7.5.4-1.1 | OPENSUSE-SU-2026:11524-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python36-pysaml2aarch64 | Advisory build | 7.0.1-1.2 | OPENSUSE-SU-2024:11258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python36-pysaml2ppc64le | Advisory build | 7.0.1-1.2 | OPENSUSE-SU-2024:11258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python36-pysaml2s390x | Advisory build | 7.0.1-1.2 | OPENSUSE-SU-2024:11258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python36-pysaml2x86_64 | Advisory build | 7.0.1-1.2 | OPENSUSE-SU-2024:11258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-pysaml2aarch64 | Advisory build | 7.0.1-1.2 | OPENSUSE-SU-2024:11258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-pysaml2ppc64le | Advisory build | 7.0.1-1.2 | OPENSUSE-SU-2024:11258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-pysaml2s390x | Advisory build | 7.0.1-1.2 | OPENSUSE-SU-2024:11258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-pysaml2x86_64 | Advisory build | 7.0.1-1.2 | OPENSUSE-SU-2024:11258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-pysaml2aarch64 | Advisory build | 7.0.1-1.2 | OPENSUSE-SU-2024:11258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-pysaml2ppc64le | Advisory build | 7.0.1-1.2 | OPENSUSE-SU-2024:11258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-pysaml2s390x | Advisory build | 7.0.1-1.2 | OPENSUSE-SU-2024:11258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-pysaml2x86_64 | Advisory build | 7.0.1-1.2 | OPENSUSE-SU-2024:11258-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| IdentityPython | pysaml2 | < 6.5.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-347 CWE-347 Improper Verification of Cryptographic Signature
References
4Provider assertions
2GitHub_M · cna
SAML XML Signature wrapping
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3d717bec2af53dc8e508c5239b145ba96bd129ab0c65b8e77de4ae44b70e4bac
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record