CVE-2024-2419Red Hat build of Keycloak 22
High 7.1 No auth needed
Follow: this CVE · Red Hat · Red Hat build of Keycloak 22 We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 7.1
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 47
- Auth required
- No
- Published
- Apr 17, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Red Hat build of Keycloak 22.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services |
< 22.0.10 |
22.0.10 |
— |
| Maven | org.keycloak:keycloak-services |
≥ 23.0.0 < 24.0.3 |
24.0.3 |
— |
Per OSV / GitHub Advisories (GHSA-mrv8-pqfj-7gp5). Check the version in your lockfile before upgrading.
Affected products
- Red Hat · Red Hat build of Keycloak 22
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.