{"id":"CVE-2024-9666","summary":"Org.keycloak/keycloak-quarkus-server: keycloak proxy header handling denial-of-service (dos) vulnerability","details":"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.\nThe 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.","aliases":["GHSA-jgwc-jh89-rpgq"],"modified":"2026-07-16T03:47:21.093662974Z","published":"2024-11-25T07:29:52.073Z","related":["CGA-f5fg-phjp-grjj"],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-444"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9666.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://access.redhat.com/jbossnetwork/restricted/listSoftware.html"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:10175"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:10176"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:10177"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:10178"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-9666"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9666.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9666"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2317440"},{"type":"PACKAGE","url":"https://github.com/keycloak/keycloak"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/keycloak/keycloak","events":[{"introduced":"0"},{"fixed":"fb2bd05840ea10b0411379a89efd470f066c8aa2"},{"introduced":"5279b7f4530afc3c05699a2d8bbcdd18f557b6a9"},{"fixed":"5ded193f7713fc9993c381177b70b6cbac0e92a0"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"24.0.9"},{"introduced":"25.0.0"},{"fixed":"26.0.6"}],"source":"AFFECTED_FIELD"}}],"versions":["2.4.0.Test","1.3.0.Final","1.1.0.Beta2","1.0.0.Final","1.0-final","1.0-rc-1","1.0-beta-4","1.0-beta-2","1.0-beta-1","1.0-alpha-3","1.0-alpha-2","1.0-alpha-1","1.0-alpha-1-12062013"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-9666.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}