CVE-2021-22144
Description
In Elasticsearch versions before 7.13.3 and 6.8.17 an uncontrolled recursion vulnerability that could lead to a denial of service attack was identified in the Elasticsearch Grok parser. A user with the ability to submit arbitrary queries to Elasticsearch could create a malicious Grok query that will crash the Elasticsearch node.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A Grok parser recursion bug in Elasticsearch before 7.13.3 and 6.8.17 allows authenticated users to crash nodes via a malicious query, causing denial of service.
Vulnerability
Elasticsearch versions before 7.13.3 and 6.8.17 contain an uncontrolled recursion vulnerability in the Grok parser [1], [2]. A user with the ability to submit arbitrary queries to Elasticsearch can craft a malicious Grok query that triggers uncontrolled recursion, leading to a crash of the Elasticsearch node [1], [2].
Exploitation
An attacker must have the ability to submit arbitrary queries to Elasticsearch, which typically requires at least low-privileged access to the query endpoint [2]. The attacker crafts a specially designed Grok query that exploits the uncontrolled recursion weakness; no additional user interaction or network position beyond normal API access is needed [1], [2].
Impact
Successful exploitation results in a denial of service (DoS) condition as the affected Elasticsearch node crashes [1], [2]. The vulnerability does not expose data or allow code execution; the impact is limited to availability (CIA: availability loss) [2].
Mitigation
Elasticsearch 7.13.3 and 6.8.17 fix the vulnerability; users should update to these versions [2]. No workarounds are documented for unpatched instances [1], [2].
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.elasticsearch:elasticsearchMaven | < 6.8.17 | 6.8.17 |
org.elasticsearch:elasticsearchMaven | >= 7.0.0-alpha1, < 7.13.3 | 7.13.3 |
Affected products
3- Elasticsearch/Elasticsearchdescription
- osv-coords2 versions
< 6.8.17+ 1 more
- (no CPE)range: < 6.8.17
- (no CPE)range: < 6.8.17
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- github.com/advisories/GHSA-3393-hvrj-w7v3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-22144ghsaADVISORY
- discuss.elastic.co/t/elasticsearch-7-13-3-and-6-8-17-security-update/278100ghsax_refsource_MISCWEB
- security.netapp.com/advisory/ntap-20210827-0006ghsaWEB
- security.netapp.com/advisory/ntap-20210827-0006/mitrex_refsource_CONFIRM
- www.oracle.com/security-alerts/cpuapr2022.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.