pysaml2に署名検証を回避される脆弱性、正当な署名付き要素を偽のメッセージに埋め込み可能
Summary
pysaml2の7.5.5以前には、XMLSecurity暗号バックエンドでXML署名ラッピングの脆弱性があり、正当に署名された要素を攻撃者が作った偽のメッセージに埋め込むと、正しく署名されたものとして受け入れられるおそれがあります。公表は2026年12月2日で、深刻度は中とされています。修正版の情報は確認できていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
pysaml2の7.5.5以前には、XMLSecurity暗号バックエンドでXML署名ラッピングの脆弱性があり、正当に署名された要素を攻撃者が作った偽のメッセージに埋め込むと、正しく署名されたものとして受け入れられるおそれがあります。公表は2026年12月2日で、深刻度は中とされています。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| IdentityPythonpysaml2 |
≤ 7.5.5→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
IdentityPython pysaml2 through 7.5.5 contains an XML signature wrapping vulnerability in CryptoBackendXMLSecurity.validate_signature() that ignores node_id and accepts any valid ds:Signature in the document. Attackers holding a genuinely signed SAML element can embed it inside a forged message with attacker-chosen content, such as an AuthnRequest, which is accepted as correctly signed.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com