Org.keycloak/keycloak-quarkus-server: keycloak proxy header handling denial-of-service (dos) vulnerability
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 4 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | keycloak | before 24.0.9; 25.0.0 to before 26.0.6 | 24.0.9, 26.0.6 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 24 | — | 24.0.9-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 24 | — | 24-18 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 24 | — | 24-18 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 24.0.9 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.0 | — | 26.0.6-2 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.0 | — | 26.0-5 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.0 | — | 26.0-6 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.0.6 | — | — | Not affected | CNA |
| Red Hat | Red Hat Build of Keycloak | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | — | — | Not affected | CNA |
| — | org.keycloak:keycloak-quarkus-server (Maven) | all versions | — | No fix listed | GHSA-jgwc-jh89-rpgq |
| — | org.keycloak:keycloak-quarkus-server (Maven) | 25.0.0 to before 26.0.6 | 26.0.6 | Patch available | GHSA-jgwc-jh89-rpgq |
- keycloak Vendor— Affected before 24.0.9; 25.0.0 to before 26.0.6 Fixed in 24.0.9, 26.0.6 Patch available CNA
- Red Hat build of Keycloak 24 VendorRed Hat Affected — Fixed in 24.0.9-1 Patch available CNA
- Red Hat build of Keycloak 24 VendorRed Hat Affected — Fixed in 24-18 Patch available CNA
- Red Hat build of Keycloak 24 VendorRed Hat Affected — Fixed in 24-18 Patch available CNA
- Red Hat build of Keycloak 24.0.9 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.0 VendorRed Hat Affected — Fixed in 26.0.6-2 Patch available CNA
- Red Hat build of Keycloak 26.0 VendorRed Hat Affected — Fixed in 26.0-5 Patch available CNA
- Red Hat build of Keycloak 26.0 VendorRed Hat Affected — Fixed in 26.0-6 Patch available CNA
- Red Hat build of Keycloak 26.0.6 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Build of Keycloak VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 8 VendorRed Hat Affected — Fixed in — Not affected CNA
- org.keycloak:keycloak-quarkus-server (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-jgwc-jh89-rpgq
- org.keycloak:keycloak-quarkus-server (Maven) Vendor— Affected 25.0.0 to before 26.0.6 Fixed in 26.0.6 Patch available GHSA-jgwc-jh89-rpgq
CPE names CNA · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:/a:redhat:build_keycloak:24::el9 | 24 | — | Red Hat |
| cpe:/a:redhat:build_keycloak:24 | 24 | — | Red Hat |
| cpe:/a:redhat:build_keycloak:26.0::el9 | 26.0 | — | Red Hat |
| cpe:/a:redhat:build_keycloak:26.0 | 26.0 | — | Red Hat |
| cpe:/a:redhat:build_keycloak: | — | — | Red Hat |
| cpe:/a:redhat:jboss_enterprise_application_platform:8 | 8 | — | Red Hat |
- cpe:/a:redhat:build_keycloak:24::el9 Versions 24 — ·Red Hat
- cpe:/a:redhat:build_keycloak:24 Versions 24 — ·Red Hat
- cpe:/a:redhat:build_keycloak:26.0::el9 Versions 26.0 — ·Red Hat
- cpe:/a:redhat:build_keycloak:26.0 Versions 26.0 — ·Red Hat
- cpe:/a:redhat:build_keycloak: Versions — — ·Red Hat
- cpe:/a:redhat:jboss_enterprise_application_platform:8 Versions 8 — ·Red Hat
Remediation
- Fix · CNA keycloak Fixed in 24.0.9, 26.0.6
- Fix · GHSA-jgwc-jh89-rpgq org.keycloak:keycloak-quarkus-server (Maven) Fixed in 26.0.6 Advisory →
Red Hat 4 advisories
- RHSA-2024:10178 Released 2024-11-21 · Red Hat rating ImportantRed Hat build of Keycloak 26.0.6 Update
- Red Hat build of Keycloak 26.0.6
- RHSA-2024:10177 Released 2024-11-21 · Red Hat rating ImportantRed Hat build of Keycloak 26.0.6 Images Update
- Red Hat build of Keycloak 26.0 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2024:10176 Released 2024-11-21 · Red Hat rating ImportantRed Hat build of Keycloak 24.0.9 Update
- Red Hat build of Keycloak 24.0.9
Show 1 more Red Hat advisories
- RHSA-2024:10175 Released 2024-11-21 · Red Hat rating ImportantRed Hat build of Keycloak 24.0.9 Images Update
- Red Hat build of Keycloak 24 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Red Hat JBoss Enterprise Application Platform 8, Red Hat build of Keycloak 24 and 3 more products — RHSA-2024:10175
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2024-09516 Org.keycloak:keycloak-services: keycloak denial of servicePriority LOW 31
- TI-2024-09679 Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build processPriority LOW 28
- TI-2024-09718 Keycloak-quarkus-server: keycloak path trasversalPriority LOW 15
- Advisory ·
Red Hat JBoss Enterprise Application Platform 8, Red Hat build of Keycloak 24 and 3 more products — RHSA-2024:10176
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2024-09516 Org.keycloak:keycloak-services: keycloak denial of servicePriority LOW 31
- TI-2024-09679 Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build processPriority LOW 28
- TI-2024-09718 Keycloak-quarkus-server: keycloak path trasversalPriority LOW 15
Show 2 more groups
- Advisory ·
Red Hat JBoss Enterprise Application Platform 8, Red Hat build of Keycloak 24 and 3 more products — RHSA-2024:10177
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2024-09516 Org.keycloak:keycloak-services: keycloak denial of servicePriority LOW 31
- TI-2024-09679 Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build processPriority LOW 28
- TI-2024-09718 Keycloak-quarkus-server: keycloak path trasversalPriority LOW 15
- Advisory ·
Red Hat JBoss Enterprise Application Platform 8, Red Hat build of Keycloak 24 and 3 more products — RHSA-2024:10178
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2024-09516 Org.keycloak:keycloak-services: keycloak denial of servicePriority LOW 31
- TI-2024-09679 Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build processPriority LOW 28
- TI-2024-09718 Keycloak-quarkus-server: keycloak path trasversalPriority LOW 15
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Build of Keycloak | Affected | No fix yet: Fix deferred |
| Red Hat build of Keycloak 24 | Fixed | RHSA-2024:10175 |
| Red Hat build of Keycloak 24.0.9 | Fixed | RHSA-2024:10176 |
| Red Hat build of Keycloak 26.0 | Fixed | RHSA-2024:10177 |
| Red Hat build of Keycloak 26.0.6 | Fixed | RHSA-2024:10178 |
Not affected: 1 product
- Red Hat JBoss Enterprise Application Platform 8
Timeline
- 2026-10-02 Threatist record created from CVE-2024-9666
- 2026-10-03 Alias added: GHSA-jgwc-jh89-rpgq
References
Advisory 5
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-9666 · CVE Program
- CVE-2024-9666 · NVD
- FIRST EPSS
- GHSA-jgwc-jh89-rpgq · GitHub Advisory Database · CC BY 4.0
- CVE-2024-9666 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences