{"answers":{"affected":"4 open source packages ship an affected version, including org.keycloak:keycloak-quarkus-server.","exploited":"There is no known exploitation of CVE-2024-9666 in the wild and no public exploit code.","fix":"Upgrade org.keycloak:keycloak-quarkus-server to 26.0.6 or later.","what":"CVE-2024-9666 is a medium-severity denial of service vulnerability in Red Hat Build of Keycloak, published on 25 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-9666 and fix it if it is affected.\n\nWhat it is: CVE-2024-9666 is a medium-severity denial of service vulnerability in Red Hat Build of Keycloak, published on 25 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-9666 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.keycloak:keycloak-quarkus-server (Maven): affected all versions; no fix listed\n- org.keycloak:keycloak-quarkus-server (Maven): affected all versions; no fix listed\n- org.keycloak:keycloak-quarkus-server (Maven): affected from 25.0.0; fixed in 26.0.6\n- org.keycloak:keycloak-quarkus-server (Maven): affected from 25.0.0; fixed in 26.0.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-9666/ (Markdown: https://insights.sbomify.com/CVE-2024-9666/index.md)","id":"CVE-2024-9666","markdown":"https://insights.sbomify.com/CVE-2024-9666/index.md","name":"CVE-2024-9666","record":{"aliases":["ECHO-7edb-23c5-02ec","GHSA-jgwc-jh89-rpgq"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Keycloak identity server","requires_auth":"low_privilege","summary":"Attackers can cause denial of service in Keycloak by sending malicious proxy headers that trigger expensive DNS lookups, requiring specific proxy trust configurations.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Org.keycloak/keycloak-quarkus-server: keycloak proxy header handling denial-of-service (dos) vulnerability","id":"CVE-2024-9666","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":4,"n_references":6,"next":{"headline":"Seriously Simple Podcasting \u003c= 3.5.0 - Reflected Cross-Site Scripting via add_query_arg Parameter","id":"CVE-2024-9667"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-quarkus-server","purl":null,"source":"GHSA-jgwc-jh89-rpgq"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-quarkus-server","purl":"pkg:maven/org.keycloak/keycloak-quarkus-server","source":"GHSA-jgwc-jh89-rpgq"},{"ecosystem":"Maven","fixed":["26.0.6"],"introduced":["25.0.0"],"last_affected":[],"package":"org.keycloak:keycloak-quarkus-server","purl":null,"source":"GHSA-jgwc-jh89-rpgq"},{"ecosystem":"Maven","fixed":["26.0.6"],"introduced":["25.0.0"],"last_affected":[],"package":"org.keycloak:keycloak-quarkus-server","purl":"pkg:maven/org.keycloak/keycloak-quarkus-server","source":"GHSA-jgwc-jh89-rpgq"}],"prev":{"headline":"Zimbra GraphQL Cross-Site Request Forgery Information Disclosure Vulnerability","id":"CVE-2024-9665"},"products":["Red Hat Build of Keycloak","Red Hat JBoss Enterprise Application Platform 8","Red Hat build of Keycloak 24","Red Hat build of Keycloak 24.0.9","Red Hat build of Keycloak 26.0","Red Hat build of Keycloak 26.0.6"],"published":"2024-11-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-13","vendors":["Red Hat"]},"summary":"Attackers can cause denial of service in Keycloak by sending malicious proxy headers that trigger expensive DNS lookups, requiring specific proxy trust configurations.","url":"https://insights.sbomify.com/CVE-2024-9666/"}