CVE-2026-128073
gosaml2 denial of service in encrypted SAML assertion decryption
Unauthenticated remote attackers can crash the request or the service process with a crafted encrypted assertion.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche v0.12.0 | github.com/russellhaering/gosaml2 · -104 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-128073 divulgada · CVSS 7.5 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
gosaml2, a Go implementation of SAML 2.0, can be crashed by a specially crafted encrypted assertion that an attacker sends remotely, without logging in. The attacker needs only the service provider's public certificate, and the resulting panic can terminate the request or the whole service process.
Affects gosaml2 service providers that parse SAML Responses containing an EncryptedAssertion with AES-GCM or AES-CBC metadata and a short or empty CipherValue. Fixed in 0.12.0.
Descripción original del registro (GitHub_M)
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gogithub.com/russellhaering/gosaml2 |
Corregida | v0.12.0 | -104 d | v0.12.0 no afectada |
0.12.0v0.12.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/russellhaering/gosaml2/security/advisories/GHSA-5hj8-q7fv-qrj6https://github.com/russellhaering/gosaml2/pull/281https://github.com/russellhaering/gosaml2/commit/b2bd784b196b21f606faaa6a4eeae929bd75aa20https://github.com/russellhaering/gosaml2/releases/tag/v0.12.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
