CVE-2024-2419
published high CVSS 3.1 · 7.1Keycloak: path traversal in the redirect validation
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 |
Description
A flaw was found in Keycloak's redirect_uri validation logic. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to the theft of an access token, making it possible for the attacker to impersonate other users. It is very similar to CVE-2023-6291.
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
- 7.1 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/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 |
Weaknesses
1- CWE-601 URL Redirection to Untrusted Site
References
3- RHSA-2024:1867 https://access.redhat.com/errata/RHSA-2024:1867
- https://access.redhat.com/security/cve/CVE-2024-2419
- RHBZ#2269371 https://bugzilla.redhat.com/show_bug.cgi?id=2269371
Provider assertions
3redhat · cna
Keycloak: path traversal in the redirect validation
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dca70568e95323ea61b15a63ba96cbb14f4e4c81ef74b52cc7870a490be26c7f
- Ingested
- 26 Nov 2026, 13:35:25 UTC
- Source record
- Official CVE record