cve.bz

CVE-2024-9666 HTTP Request Smuggling

4.7 mediumEPSS 0.4%Fix available

Medium (4.7). EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-quarkus-server 26.0.6.

On this page
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.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-11-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-444 Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.keycloak:keycloak-quarkus-server (Maven): fixed in 26.0.6
  • Red Hat Red Hat build of Keycloak 24: fixed in 24.0.9-1
  • Red Hat Red Hat build of Keycloak 24: fixed in 24-18
  • Red Hat Red Hat build of Keycloak 26.0: fixed in 26.0.6-2
  • Red Hat Red Hat build of Keycloak 26.0: fixed in 26.0-5
  • Red Hat Red Hat build of Keycloak 26.0: fixed in 26.0-6

Ask an AI about this CVE

Show the promptExplain CVE-2024-9666 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-9666?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-9666?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-9666 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat build of Keycloak 2424.0.9-1
Red Hat build of Keycloak 2424-18
Red Hat build of Keycloak 26.026.0.6-2
Red Hat build of Keycloak 26.026.0-5
Red Hat build of Keycloak 26.026.0-6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jgwc-jh89-rpgqMavenorg.keycloak:keycloak-quarkus-serverall versionsno fix published
GHSA-jgwc-jh89-rpgqMavenorg.keycloak:keycloak-quarkus-server>=25.0.0 <26.0.626.0.6

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Enterprise Application Server 8 does not ship the affected component and so is not affected by this flaw.

Red Hat's mitigation

Configure the reverse proxy to overwrite incoming proxy headers, including X-Forwarded-For, and ensure Keycloak trusts proxy headers only from the intended proxy rather than directly from untrusted clients. If proxy-header support is not required, disable acceptance of incoming proxy headers.

ProductPackageStateAdvisory
Red Hat build of Keycloak 24rhbk/keycloak-operator-bundle:24.0.9-1Fixed 2024-11-21RHSA-2024:10175
Red Hat build of Keycloak 24rhbk/keycloak-rhel9:24-18Fixed 2024-11-21RHSA-2024:10175
Red Hat build of Keycloak 24rhbk/keycloak-rhel9-operator:24-18Fixed 2024-11-21RHSA-2024:10175
Red Hat build of Keycloak 24.0.9Fixed 2024-11-21RHSA-2024:10176
Red Hat build of Keycloak 26.0rhbk/keycloak-operator-bundle:26.0.6-2Fixed 2024-11-21RHSA-2024:10177
Red Hat build of Keycloak 26.0rhbk/keycloak-rhel9:26.0-5Fixed 2024-11-21RHSA-2024:10177
Red Hat build of Keycloak 26.0rhbk/keycloak-rhel9-operator:26.0-6Fixed 2024-11-21RHSA-2024:10177
Red Hat build of Keycloak 26.0.6Fixed 2024-11-21RHSA-2024:10178
Red Hat Build of Keycloakkeycloak-quarkus-serverFix deferred
Red Hat JBoss Enterprise Application Platform 8keycloak-quarkus-serverNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-9666.

Attack patterns (CAPEC)

  • CAPEC-33 HTTP Request Smuggling Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON