CVE-2024-9666
Org.keycloak/keycloak-quarkus-server: keycloak proxy header handling denial-of-service (dos) vulnerability
CVE-2024-9666 affects Red Hat Inc. Keycloak (CVSS 4.7, Medium).
No known exploitation. EPSS puts it in the 13th percentile. Fixed versions are out.
No public exploit knownFix3 products2 fixed builds listed below
e.g. OID 1.3.6.1.4.1.25623.1.0.153909
What to do
Find your product and version, then upgrade to the build on the right.
- Red Hat build of Keycloak 24Fixed builds24.0.9-1Stated by: CVE record
- Red Hat build of Keycloak 26.0Fixed builds26.0.6-2Stated by: CVE record
- Red Hat Inc. KeycloakAffected: before 24.0.9Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.3% chance of exploitation activity in the next 30 days, which ranks it in the 13th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
14 events over 665 days, from the signal feeds we watch.
- Patch availablerecord updated
- Patch availablerecord updated
- Patch availablepatch available, record updated, record updated
- OpenVAS check added
- Patch availablepublished, weakness classified, att&ck mapped, record updated
Affected products
- KeycloakOperating Systems / linux-distro
- Red Hat build of Keycloak 24Operating Systems / linux-distro
- Red Hat build of Keycloak 24.0.9Web & CMS Plugins
- Red Hat build of Keycloak 26.0DevTools & CI
- Red Hat build of Keycloak 26.0.6Web & CMS Plugins
- Red Hat Build of KeycloakWeb & CMS Plugins
- Red Hat JBoss Enterprise Application Platform 8Enterprise Software / itsm-monitoring
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Scored 4.7 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity NoneNo integrity impact
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- access.redhat.com/errata/RHSA-2024:10175&
- access.redhat.com/errata/RHSA-2024:10176&
- access.redhat.com/errata/RHSA-2024:10177&
And 16 more references. See all after sign-in
Questions about CVE-2024-9666
- Is CVE-2024-9666 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 0.3%.
- Which versions are affected by CVE-2024-9666?
- Keycloak: before 24.0.9. 2 more products are listed in the record.
- How do I fix or mitigate CVE-2024-9666?
- Upgrade to a fixed build for your product branch: 24.0.9-1, 26.0.6-2. The advisory is on github.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Keycloak, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI