CVE-2021-3461
7.1high
Keycloak insufficient session expiration
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-cm29-6wx7-p874
Description
A flaw was found in keycloak where keycloak may fail to logout user session if the logout request comes from external SAML identity provider and Principal Type is set to Attribute [Name].
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| keycloak | rh-sso7-keycloak 9.0.13 | CVE List |
| org.keycloak:keycloak-parent (Maven) | before 14.0.0 | GitHub Advisory Database |
| redhat keycloak | 9.0.13 | NVD |
| redhat single_sign-on | 7.0, 7.4, 7.4.7 | NVD |
All scores
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.3low CVSS:2.0 | AV:L/AC:M/Au:N/C:P/I:P/A:N |
Classification
What each source says
CVE List
A flaw was found in keycloak where keycloak may fail to logout user session if the logout request comes from external SAML identity provider and Principal Type is set to Attribute [Name].
NVD (es)
Se ha encontrado un fallo en keycloak por el que keycloak puede fallar al cerrar la sesión del usuario si la petición de cierre de sesión proviene de un proveedor de identidad SAML externo y el tipo de principal está configurado como atributo [nombre]
References
| https://bugzilla.redhat.com/show_bug.cgi?id=1941565 | issue-tracking, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-3461 | advisory | |
| https://github.com/keycloak/keycloak/issues/11203 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3461 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cm29-6wx7-p874 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-3461 changed 2026-06-17 | Public domain |