Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-10270: Inefficient Regular Expression Complexity

0
Medium
VulnerabilityCVE-2024-10270cvecve-2024-10270
Published: Mon Nov 25 2024 (11/25/2024, 07:37:04 UTC)
Source: CVE Database V5

Description

A vulnerability was found in the Keycloak-services package. If untrusted data is passed to the SearchQueryUtils method, it could lead to a denial of service (DoS) scenario by exhausting system resources due to a Regex complexity.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 11:16:08 UTC

Technical Analysis

CVE-2024-10270 is a vulnerability identified in the Keycloak-services package, specifically affecting versions from 0 up to 25.0.0. The issue stems from inefficient regular expression (regex) complexity within the SearchQueryUtils method. When untrusted input is passed to this method, the regex engine can enter a state of excessive backtracking or complexity, causing significant CPU and memory consumption. This resource exhaustion can lead to a denial of service (DoS) condition, where legitimate requests are delayed or dropped due to system overload. The vulnerability does not impact confidentiality or integrity but severely affects availability. The CVSS 3.1 base score is 6.5, reflecting a medium severity level. The attack vector is network-based (AV:N), with low attack complexity (AC:L), requiring privileges (PR:L) but no user interaction (UI:N). The scope remains unchanged (S:U), and the impact is limited to availability (A:H). No known exploits have been reported in the wild, and no official patches have been published at the time of analysis. The vulnerability was reserved in late October 2024 and published in November 2024 by Red Hat. This vulnerability is significant for environments relying on Keycloak for authentication and authorization services, as it can disrupt service availability through crafted search queries.

Potential Impact

The primary impact of CVE-2024-10270 is denial of service, which can severely disrupt identity and access management services provided by Keycloak. Organizations relying on Keycloak for authentication, single sign-on, or authorization may experience service outages or degraded performance, affecting user access to critical applications and systems. This can lead to operational downtime, loss of productivity, and potential cascading effects on dependent services. Since the vulnerability requires privileges to invoke the vulnerable method, insider threats or compromised accounts could exploit this to disrupt services. The absence of confidentiality or integrity impact limits data breach risks, but availability disruption in IAM systems can indirectly affect security posture and business continuity. The lack of known exploits reduces immediate risk, but the medium severity and ease of exploitation warrant proactive mitigation.

Mitigation Recommendations

To mitigate CVE-2024-10270, organizations should first monitor for updates and patches from Keycloak or Red Hat and apply them promptly once available. In the interim, restrict access to the SearchQueryUtils method to trusted users and services only, minimizing exposure to untrusted input. Implement input validation and sanitization to detect and reject potentially malicious or overly complex regex patterns before they reach the vulnerable method. Employ rate limiting and resource usage monitoring on Keycloak services to detect and throttle abnormal query patterns indicative of exploitation attempts. Consider deploying Web Application Firewalls (WAFs) with custom rules to block suspicious regex-based queries. Additionally, review and tighten privilege assignments to reduce the number of users or services capable of invoking the vulnerable functionality. Conduct regular security assessments and penetration testing focused on regex injection and DoS scenarios within Keycloak environments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2024-10-23T02:00:58.671Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 691362a4f922b639ab5baf7d

Added to database: 11/11/2025, 4:21:56 PM

Last enriched: 2/28/2026, 11:16:08 AM

Last updated: 3/26/2026, 11:39:10 AM

Views: 163

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses