CVE-2023-3597
published medium CVSS 3.1 · 5.0Keycloak: secondary factor bypass in step-up authentication
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | keycloak0 to < 22.0.10 · 23.0.0 to < 24.0.3 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 22 · 22.0.10-1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 22 · 22-13 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 22 · 22-16 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | keycloakRed Hat build of Keycloak 22.0.10 | Unaffected | Not required | redhat |
| Red Hat | — | RHSSO 7.6.8 | Unaffected | Not required | redhat |
Description
A flaw was found in Keycloak, where it does not correctly validate its client step-up authentication in org.keycloak.authentication. This flaw allows a remote user authenticated with a password to register a false second authentication factor along with an existing one and bypass authentication.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| keycloak | 0 to < 22.0.10 (affected · semver)23.0.0 to < 24.0.3 (affected · semver)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat build of Keycloak 22 | 22.0.10-1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 22 | 22-13 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 22 | 22-16 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 22.0.10 | Default: unaffected | redhat · cna |
| Red Hat | RHSSO 7.6.8 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-287 Improper Authentication
References
5- RHSA-2024:1866 https://access.redhat.com/errata/RHSA-2024:1866
- RHSA-2024:1867 https://access.redhat.com/errata/RHSA-2024:1867
- RHSA-2024:1868 https://access.redhat.com/errata/RHSA-2024:1868
- https://access.redhat.com/security/cve/CVE-2023-3597
- RHBZ#2221760 https://bugzilla.redhat.com/show_bug.cgi?id=2221760
Provider assertions
3redhat · cna
Keycloak: secondary factor bypass in step-up authentication
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c70f63ed9aaccb597617e84ab9ae453a3a8721a4c4cf64604934700fede85a58
- Ingested
- 26 Nov 2026, 23:14:10 UTC
- Source record
- Official CVE record