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-21239

published medium CVSS 3.1 · 6.5

Open default xmlsec1 key-type preference

Published
21 Jan 2021, 14:15:21 UTC
Updated
03 Aug 2024, 18:09:14 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
Debian stretch python-pysaml2 Advisory build 3.0.0-5+deb9u2 DLA-2577-1
SUSE / openSUSE openSUSE-Tumbleweed python310-pysaml2aarch64 Advisory build 7.4.2-1.2 OPENSUSE-SU-2024:14156-1
Ubuntu bionic python-pysaml2 Advisory build 4.0.2-0ubuntu3.2 USN-5066-1
Alpine Linux v3.13 py3-saml2 Fixed 6.4.1-r1 Package fix record
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
Show 45 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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
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
Ubuntu bionic python3-pysaml2 Advisory build 4.0.2-0ubuntu3.2 USN-5066-1
Ubuntu focal python-pysaml2 Advisory build 4.9.0-0ubuntu3.1 USN-5066-1
Ubuntu focal python3-pysaml2 Advisory build 4.9.0-0ubuntu3.1 USN-5066-1
Ubuntu xenial python-pysaml2 Advisory build 3.0.0-3ubuntu1.16.04.4+esm1 USN-5066-2
Ubuntu xenial python3-pysaml2 Advisory build 3.0.0-3ubuntu1.16.04.4+esm1 USN-5066-2

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. Users of pysaml2 that use the default CryptoBackendXmlSec1 backend and need to verify signed SAML documents are impacted. PySAML2 does not ensure that a signed SAML document is correctly signed. The default CryptoBackendXmlSec1 backend is using the xmlsec1 binary to verify the signature of signed SAML documents, but by default xmlsec1 accepts any type of key found within the given document. xmlsec1 needs to be configured explicitly to only use only _x509 certificates_ for the verification process of the SAML document signature. This is fixed in PySAML2 6.5.0.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

20

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

6

Provider assertions

2

GitHub_M · cna

Open default xmlsec1 key-type preference

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
e1284c407709ba4a0483e4ceea31296534302e8ade427e52253640442cbd9cc7
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