VDB

CVE-2024-9666

CVE-2024-9666 PUBLISHED CVSS 4.7 MEDIUM

Keycloak proxy header handling Denial-of-Service (DoS) vulnerability

Reported by redhat · Published November 25, 2024

keycloak is fixed in 26.0.6 and 24.0.9 (GitHub Packages)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
keycloakGitHub Packages26.0.6, 24.0.9
org.keycloak:keycloak-quarkus-serverMaven Central26.0.6, 24.0.9
keycloakChainguard26.0.6-r0
keycloak-fipsChainguard26.0.6-r0
keycloakdhi.docker.com26.0.6, 24.0.9
keycloakWolfi26.0.6-r0
keycloakDHI26.0.6, 24.0.9

Risk scores

CVSS 3.1
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
0, 25.0.0
Red HatRed Hat build of Keycloak 2424.0.9-1
Red HatRed Hat build of Keycloak 2424-18
Red HatRed Hat build of Keycloak 2424-18
Red HatRed Hat build of Keycloak 24.0.9
Red HatRed Hat build of Keycloak 26.026.0.6-2
Red HatRed Hat build of Keycloak 26.026.0-5
Red HatRed Hat build of Keycloak 26.026.0-6
Red HatRed Hat build of Keycloak 26.0.6
Red HatRed Hat Build of Keycloak
Red HatRed Hat JBoss Enterprise Application Platform 8
Red HatRed Hat build of Keycloak 2424.0.9-1
Red HatRed Hat build of Keycloak 26.026.0-6
Red HatRed Hat build of Keycloak 26.0.6
Red HatRed Hat build of Keycloak 24.0.9
chainguardkeycloak0
chainguardkeycloak-fips0
Red HatRed Hat build of Keycloak 24.0.9
Red HatRed Hat build of Keycloak 26.0.6
25.0.0, 0

…and 11 more

Timeline

  • Nov 21, 2024 CVE Published
  • Nov 22, 2024 PoC Published (2 in total, the first dated here)
  • Nov 25, 2024 CVE Updated
  • Nov 26, 2024 EPSS Score (30 in total, the first dated here)
  • Dec 28, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (7 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (6 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-9666
vulnetix vdb fixes CVE-2024-9666

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-9666/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›