Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-21238

published medium CVSS 3.1 · 6.5

SAML XML Signature wrapping

Published
21 Jan 2021, 14:15:27 UTC
Updated
03 Aug 2024, 18:09:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

15

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.

Affected vendor and product assertions
VendorProductVersion statusSource
IdentityPython pysaml2 < 6.5.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-347 CWE-347 Improper Verification of Cryptographic Signature (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected