CVE-2024-9666
MEDIUM 4.7CVSS 3.1Keycloak proxy header handling Denial-of-Service (DoS) vulnerability
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.
- Published
- 25 Nov 2024
- Last modified
- 21 Sep 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-444
- Also known as
- GHSA-jgwc-jh89-rpgq
- Sources
- NVDJSONOSV GHSA-jgwc-jh89-rpgqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.keycloak:keycloak-quarkus-server | all versions | |
| OSV | Maven | org.keycloak:keycloak-quarkus-server | >= 25.0.0, < 26.0.6 | 26.0.6 |
References
- https://access.redhat.com/errata/RHSA-2024:10175 · WEB
- https://access.redhat.com/errata/RHSA-2024:10176 · WEB
- https://access.redhat.com/errata/RHSA-2024:10177 · WEB
- https://access.redhat.com/errata/RHSA-2024:10178 · WEB
- https://access.redhat.com/security/cve/CVE-2024-9666 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2317440 · WEB
- https://github.com/keycloak/keycloak/security/advisories/GHSA-jgwc-jh89-rpgq · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-9666 · ADVISORY
- https://github.com/keycloak/keycloak/issues/35216 · WEB
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 25 Nov 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Nov 2024)