CVE-2024-2419
Keycloak: path traversal in the redirect validation
HIGH 7.1
At a glance
- Source
- NVD
- EPSS
- EPSS 0.50 % · percentile 43 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-601 — URL Redirection to Untrusted Site
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L | redhat |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L | NVD · secalert@redhat.com (Secondary) |
Advisories
- GHSA-mrv8-pqfj-7gp5 — Keycloak path traversal vulnerability in the redirect validation
European references
- ENISA EUVD · EUVD-2024-1253
- GCVE · GCVE-0-2024-2419
Affected products
| Product | Versions |
|---|---|
| keycloak | affected 0 < 22.0.10 ; affected 23.0.0 < 24.0.3 |
| Red Hat · Red Hat build of Keycloak 22 | unaffected 22.0.10-1 < * |
| Red Hat · Red Hat build of Keycloak 22 | unaffected 22-13 < * |
| Red Hat · Red Hat build of Keycloak 22 | unaffected 22-16 < * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |