CVE-2021-22144
Java vulnerability analysis and mitigation

Overview

An uncontrolled recursion vulnerability (CVE-2021-22144) was identified in the Elasticsearch Grok parser affecting versions before 7.13.3 and 6.8.17. The vulnerability was discovered in July 2021 and could lead to a denial of service attack. The issue affects Elasticsearch installations where users have the ability to submit arbitrary queries (Elastic Discussion).

Technical details

The vulnerability is classified as an uncontrolled recursion issue (CWE-674) with a CVSS v3.1 base score of 6.5 (MEDIUM), and vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The vulnerability requires low attack complexity and low privileges to exploit, with no user interaction needed (NVD).

Impact

If successfully exploited, the vulnerability allows an attacker to create a malicious Grok query that will crash the Elasticsearch node, resulting in a denial of service condition. This impacts the availability of the Elasticsearch service (Elastic Discussion).

Exploitability

The vulnerability can be exploited by a user with the ability to submit arbitrary queries to Elasticsearch. The attacker needs to craft a specific malicious Grok query to trigger the uncontrolled recursion condition (NVD).

Mitigation and workarounds

Users should upgrade their Elasticsearch installations to version 7.13.3 or 6.8.17 or later versions to address this vulnerability. No alternative workarounds have been provided (Elastic Discussion).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-53837CRITICAL9.9
  • Java logoJava
  • org.xwiki.rendering:xwiki-rendering-xml
NoYesSep 18, 2026
CVE-2026-77615HIGH8.7
  • JavaScript logoJavaScript
  • paella-core
NoYesSep 17, 2026
CVE-2026-54148HIGH8.1
  • Java logoJava
  • org.http4k:http4k-security-digest
NoYesSep 18, 2026
CVE-2026-85058HIGH7.5
  • Java logoJava
  • io.moquette:moquette-broker
NoYesSep 18, 2026
CVE-2026-54147MEDIUM6.5
  • Java logoJava
  • org.http4k:http4k-security-digest
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management