CVE-2024-9666
Org.keycloak/keycloak-quarkus-server: keycloak proxy header handling denial-of-service (dos) vulnerability
- State
- Published
- Severity
- 4.7 Medium
- Published
- Nov 25, 2024
- Updated
- Oct 13, 2026
- Reserved
- Oct 8, 2024
Description
A vulnerability was found in the Keycloak Server. The Keycloak Server is vulnerable to a denial of service (DoS) attack due to improper handling of proxy headers. When Keycloak is configured to accept incoming proxy headers, it may accept non-IP values, such as obfuscated identifiers, without proper validation. This issue can lead to costly DNS resolution operations, which an attacker could exploit to tie up IO threads and potentially cause a denial of service. The attacker must have access to send requests to a Keycloak instance that is configured to accept proxy headers, specifically when reverse proxies do not overwrite incoming headers, and Keycloak is configured to trust these headers.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.7 Medium | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H | redhat |
Weaknesses
- CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Affected Products
| Product | Versions |
|---|---|
keycloak |
|
Red Hat build of Keycloak 24Red Hat |
|
Red Hat build of Keycloak 24Red Hat |
|
Red Hat build of Keycloak 24Red Hat |
|
Red Hat build of Keycloak 24.0.9Red Hat | |
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0.6Red Hat | |
Red Hat Build of KeycloakRed Hat | |
Red Hat JBoss Enterprise Application Platform 8Red Hat |
References
- RHSA-2024:10175vendor-advisory
- RHSA-2024:10176vendor-advisory
- RHSA-2024:10177vendor-advisory
- RHSA-2024:10178vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-9666vdb-entry
- RHBZ#2317440issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.