CVE-2024-9666

Org.keycloak/keycloak-quarkus-server: keycloak proxy header handling denial-of-service (dos) vulnerability

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. 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.

Category

4.7
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.02%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com
Affected: Red Hat Red Hat build of Keycloak 24
Affected: Red Hat Red Hat build of Keycloak 24
Affected: Red Hat Red Hat build of Keycloak 24
Affected: Red Hat Red Hat build of Keycloak 24.0.9
Affected: Red Hat Red Hat build of Keycloak 26.0
Affected: Red Hat Red Hat build of Keycloak 26.0
Affected: Red Hat Red Hat build of Keycloak 26.0
Affected: Red Hat Red Hat build of Keycloak 26.0.6
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-9666?
CVE-2024-9666 has been scored as a medium severity vulnerability.
How to fix CVE-2024-9666?
To fix CVE-2024-9666, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-9666 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-9666 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-9666?
CVE-2024-9666 affects Red Hat Red Hat build of Keycloak 24, Red Hat Red Hat build of Keycloak 24, Red Hat Red Hat build of Keycloak 24, Red Hat Red Hat build of Keycloak 24.0.9, Red Hat Red Hat build of Keycloak 26.0, Red Hat Red Hat build of Keycloak 26.0, Red Hat Red Hat build of Keycloak 26.0, Red Hat Red Hat build of Keycloak 26.0.6, Red Hat Red Hat JBoss Enterprise Application Platform 8.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.