CVE-2024-9666
published medium CVSS 3.1 · 4.7Org.keycloak/keycloak-quarkus-server: keycloak proxy header handling denial-of-service (dos) vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | keycloak0 to < 24.0.9 · 25.0.0 to < 26.0.6 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 24 · 24.0.9-1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 24 · 24-18 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 24 · 24-18 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | Red Hat build of Keycloak 24.0.9 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.0 · 26.0.6-2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.0 · 26.0-5 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.0 · 26.0-6 and later · Other versions: affected | Unaffected | Not stated | redhat |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | Red Hat build of Keycloak 26.0.6 | Unaffected | Not required | redhat |
| Red Hat | — | keycloak-quarkus-serverRed Hat Build of Keycloak | Affected | Not stated | redhat |
| Red Hat | — | keycloak-quarkus-serverRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat |
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.
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
- 4.7 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| keycloak | 0 to < 24.0.9 (affected · semver)25.0.0 to < 26.0.6 (affected · semver)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat build of Keycloak 24 | 24.0.9-1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 24 | 24-18 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 24 | 24-18 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 24.0.9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.0 | 26.0.6-2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.0 | 26.0-5 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.0 | 26.0-6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.0.6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Build of Keycloak | Default: affected | redhat · cna |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-444 Inconsistent Interpretation of HTTP Requests
References
6- RHSA-2024:10175 https://access.redhat.com/errata/RHSA-2024:10175
- RHSA-2024:10176 https://access.redhat.com/errata/RHSA-2024:10176
- RHSA-2024:10177 https://access.redhat.com/errata/RHSA-2024:10177
- RHSA-2024:10178 https://access.redhat.com/errata/RHSA-2024:10178
- https://access.redhat.com/security/cve/CVE-2024-9666
- RHBZ#2317440 https://bugzilla.redhat.com/show_bug.cgi?id=2317440
Provider assertions
2redhat · cna
Org.keycloak/keycloak-quarkus-server: keycloak proxy header handling denial-of-service (dos) vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 27113d92515d689b723f1fc6e45971aeac0245369fda643e553fa2c99c91578e
- Ingested
- 03 Nov 2026, 09:39:48 UTC
- Source record
- Official CVE record