脆弱性の一覧へ戻る
編集部の見出し:gosaml2 v0.11.0 以前:短い・空の暗号文で署名の確認の前に panic(7.5)
NVD の情報
gosaml2 is a Pure Go implementation of SAML 2.0. Prior to 0.12.0, ValidateEncodedResponse() calls decryptAssertions() on an EncryptedAssertion before signature or content validation completes, and EncryptedAssertion.DecryptBytes() in types/encrypted_assertion.go slices decoded ciphertext without first validating the required nonce or initialization-vector length. A CipherValue shorter than the 12-byte AES-GCM nonce causes a slice-bounds panic, and an empty AES-CBC CipherValue passes the modulo block-size check before causing a slice-bounds panic at the 16-byte initialization-vector split. An attacker needs only the service provider's public certificate to wrap a symmetric key, and no valid identity-provider signature or relationship is required. The unrecovered panic can terminate the request goroutine or the service process. This issue is fixed in version 0.12.0.
- 公開日
- 2026-11-17
- 最終更新(NVD)
- 2026-11-19
- NVD の状態
- Received
- 脆弱性の種類
- CWE-20、CWE-248
深刻度(CVSS)
- 7.5 HighCVSS 3.1/副/評価:security-advisories@github.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
EPSS:今後30日に悪用される推定確率 0.23%(全体の上位 85.9%、評価日 2026-11-19)
解消方法
- gosaml2 のバージョンアップv0.12.0 以降根拠:公告(編集部の転記)
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-11-20 のレポートgosaml2 v0.11.0 以前:短い・空の暗号文で署名の確認の前に panic(7.5)
SP の公開証明書があれば細工した SAML Response を送れる。
公告に記載の修正版
- gosaml2 v0.12.0公告
参照(NVD)
- https://github.com/russellhaering/gosaml2/commit/b2bd784b196b21f606faaa6a4eeae929bd75aa20
- https://github.com/russellhaering/gosaml2/pull/281
- https://github.com/russellhaering/gosaml2/releases/tag/v0.12.0
- https://github.com/russellhaering/gosaml2/security/advisories/GHSA-5hj8-q7fv-qrj6
- https://github.com/russellhaering/gosaml2/security/advisories/GHSA-5hj8-q7fv-qrj6
NVD から取得:2026-11-19T22:50:26.317Z/EPSS 評価日:2026-11-19
This product uses the NVD API but is not endorsed or certified by the NVD.
悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。