Skip to content
Fencer Vulns
medium 6.5

CVE-2021-22144 json

Denial of Service in Elasticsearch

published 2021-07-26 5 y ago modified 2026-09-08 2 mo ago also BIT-elasticsearch-2021-22144 , EUVD-2021-1526 , GHSA-3393-hvrj-w7v3

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.4%
EPSS 2.4% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.elasticsearch:elasticsearch 6.8.17, 7.13.3
  • bitnami elasticsearch 6.8.17, 7.13.3
  • elastic elasticsearch 6.8.17, 7.13.3

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-22144 updated cvss 6.5

elasticsearch: uncontrolled recursion in Grok parser

  • Red Hat OpenShift Service Mesh 1 servicemesh-grafana, servicemesh-grafana-prometheus
    affected: no fix planned “Out of support scope”
  • Red Hat Decision Manager 7 elasticsearch
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Data Grid 6 elasticsearch Red Hat JBoss Fuse 6 elasticsearch Red Hat JBoss Fuse Service Works 6 elasticsearch
    affected: no fix planned “Out of support scope”
  • Red Hat Process Automation 7 elasticsearch
    affected: no fix planned “Will not fix”
  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/elasticsearch6-rhel8 Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-grafana-prometheus Red Hat Fuse 7 elasticsearch Red Hat Integration Camel K 1 elasticsearch Red Hat OpenShift Container Platform 3.11 openshift3/ose-logging-elasticsearch5 Red Hat OpenShift Container Platform 4 openshift4/ose-logging-elasticsearch6
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.44% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
GitHub 3.1 5.7 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:N/I:N/A:P
OSV 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven org.elasticsearch:elasticsearch
<6.8.17
>=7.0.0-alpha1, <7.13.3
6.8.17
7.13.3
bitnami elasticsearch
<6.8.17
>=7.0.0, <7.13.3
6.8.17
7.13.3

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.