GHSA-5p3x-r448-pc62 · 深刻度: medium · エコシステム: pip — Improper Verification of Cryptographic Signature in PySAML2
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.
総合評価: CVE-2021-21239 は悪用リスクが高い(63.7/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 1.18%、63 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.68% | 1.18% | +0.50% |
| 2 | 2026-05-16 | 3.10% | 0.68% | -2.42% |
| 3 | 2026-04-22 | — | 3.10% | — |
EPSS の全履歴 (全 51 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-5p3x-r448-pc62 · 深刻度: medium · エコシステム: pip — Improper Verification of Cryptographic Signature in PySAML2
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2021-21239: 1 source package rows (py3-saml2); 7 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 0. | https://security.alpinelinux.org/vuln/CVE-2021-21239 |
debian
|
not yet assigned | CVE-2021-21239 not yet assigned priority: Debian including 1 source packages (python-pysaml2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-21239 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-21239 |
suse
|
medium | CVE-2021-21239 severity moderate: SUSE including 137 source package names (ardana-cobbler-8.0+git.1614096566.e8c2b27-3.44.3, ardana-neutron-9.0+git.1615223676.777f0b3-3.25.2, …), 256 product×package rows across 6 product lines (HPE Helion OpenStack 8, SUSE OpenStack Cloud 8, … (6 product lines)): Fixed 256. | https://www.suse.com/security/cve/CVE-2021-21239/ |
ubuntu
|
medium | CVE-2021-21239 medium priority: Ubuntu including 1 source packages (python-pysaml2), 9 status rows across 9 suites (bionic, focal, groovy, hirsute, impish, jammy, trusty, upstream, xenial): released 7, DNE 1, ignored 1. | https://ubuntu.com/security/CVE-2021-21239 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| pysaml2_project | pysaml2 | < 6.5.0 | cpe:2.3:a:pysaml2_project:pysaml2:*:*:*:*:*:*:*:* |
| debian | debian_linux | 9.0 | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://github.com/IdentityPython/pysaml2/commit/46578df0695269a16f1c94171f1429873f90ed99 | Patch Third Party Advisory |
| https://github.com/IdentityPython/pysaml2/releases/tag/v6.5.0 | Third Party Advisory |
| https://github.com/IdentityPython/pysaml2/security/advisories/GHSA-5p3x-r448-pc62 | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/02/msg00038.html | Mailing List Third Party Advisory |
| https://pypi.org/project/pysaml2 | Product Third Party Advisory |
| https://www.aleksey.com/pipermail/xmlsec/2013/009717.html | Exploit Mailing List Third Party Advisory |