Incorrect Regular Expression in Keycloak - CVE-2024-10270

 

Incorrect Regular Expression in Keycloak - CVE-2024-10270

Published: November 25, 2024


Vulnerability identifier: #VU100907
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-10270
CWE-ID: CWE-185
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient input validation when processing regular expressions in SearchQueryUtils method. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.


Affected software

Keycloak
Red Hat build of Keycloak

How to mitigate CVE-2024-10270

Install updates from vendor's website.

Keycloak - update to 26.0.6
Red Hat build of Keycloak - addressed in versions 24.0.9, 26.0.6

External References

Related Security Bulletins