Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to denial of service via Serialized Data with Nested Payloads (CAPEC-230). An authenticated user holding only read privileges on a single index can submit one specially crafted search request whose deeply nested structure is processed without a depth limit, exhausting the thread stack and terminating the affected node.
{
"cpes": [
"cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
"cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:maven:*:*"
],
"severity": "Medium"
}