CVE-2021-3461
HIGH 7.1CVSS 3.1Keycloak insufficient session expiration
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].
- Published
- 1 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-613
- Also known as
- GHSA-cm29-6wx7-p874
- Sources
- NVDJSONOSV GHSA-cm29-6wx7-p874JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.3 | AV:L/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:9.0.13:*:*:*:*:*:*:* |
= 9.0.13 | |
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:7.4.7:*:*:*:*:*:*:* |
= 7.4.7 | |
| OSV | Maven | org.keycloak:keycloak-parent | < 14.0.0 | 14.0.0 |
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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 Apr 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Apr 2022)