Inefficient Regular Expression Complexity in Elasticsearch Leading to Denial of Service
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.
Inefficient Regular Expression Complexity (CWE-1333) in Elasticsearch can lead to denial of service via Regular Expression Exponential Blowup (CAPEC-492). The ES|QL CHUNK function's recursive chunking strategy accepts a list of user-supplied regular expressions used as text-splitting separators, without validating their computational complexity or bounding their execution time. An authenticated user with read access to any text-based index can submit a specially crafted regular expression that triggers catastrophic backtracking, consuming excessive CPU on Elasticsearch worker threads and degrading query throughput for other tenants on the affected node. The cluster does not crash as a result of this issue.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Elastic | Elasticsearch | >=8.19.0 <=8.19.21, >=9.1.0 <=9.3.8, >=9.4.0 <=9.4.7, >=9.5.0 <=9.5.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Elasticsearch, strongest first
Embed
A live severity badge for an advisory, README or ticket