Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-22144
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:26 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-22144
Complete source record
{
"id": "0ca7a3713d29d35b640b6dfe89c75d7a16be50b08f3145eb3f227a9632f23ac4",
"url": "https://osv.dev/vulnerability/CVE-2021-22144",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-22144",
"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.",
"evidence": "osv:CVE-2021-22144",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-22144",
"aliases": [
"BIT-elasticsearch-2021-22144",
"CVE-2021-22144",
"GHSA-3393-hvrj-w7v3"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/elastic/elasticsearch",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "206f6a2512f2ca690999b77a5c759ab214536b82"
},
{
"introduced": "b7e28a7232616c7a21bc879a535d801b8553ba77"
},
{
"fixed": "5d21bea28db1e89ecc1f66311ebdec9dc3aa7d64"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.8.17"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.13.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v7.13.2",
"v7.13.1",
"v6.8.16",
"v7.13.0",
"v6.8.15",
"v6.8.14",
"v6.8.13",
"v6.8.12",
"v6.8.11",
"v6.8.10",
"v6.8.9",
"v6.8.8",
"v6.8.7",
"v6.8.6",
"v6.8.5",
"v6.8.4",
"v6.8.3",
"v6.8.2",
"v6.8.1",
"v6.8.0",
"v6.7.2",
"v6.7.1",
"v6.7.0",
"v7.0.0-alpha2",
"v7.0.0-alpha1",
"v6.0.0-alpha2",
"v6.0.0-alpha1",
"v1.0.0.RC1",
"v1.0.0.Beta2",
"v1.0.0.Beta1",
"v0.90.0",
"v0.90.0.RC2",
"v0.90.0.RC1",
"v0.90.0.Beta1",
"v0.20.0.RC1",
"v0.19.0",
"v0.19.0.RC3",
"v0.19.0.RC2",
"v0.19.0.RC1",
"v0.18.0",
"v0.17.0",
"v0.16.0",
"v0.15.0",
"v0.14.0",
"v0.13.0",
"v0.12.0",
"v0.11.0",
"v0.10.0",
"v0.9.0",
"v0.8.0",
"v0.7.1",
"v0.7.0",
"v0.6.0",
"v0.5.1",
"v0.5.0",
"v0.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22144.json",
"vanir_signatures": [
{
"id": "CVE-2021-22144-094892b5",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46306908087834685596391033629543643063",
"309639364621793396813014594316873131855",
"29128284626522818738713589723885160495",
"161871899510850400620560954403845436989",
"11189868176976358190645651809106375237",
"252283072025772185312066259196494384069",
"186764478831357170795648974055168900478",
"16834889254463775560960843331988962190",
"336340090449089775032792466573808690249",
"120694549646089050654449180204196627811",
"91447881726955768689021406281828727085",
"169835636148755964864088097702761135007",
"164818499281119662862618001252267262545",
"142654126224155807598745608946083563969",
"113745486366100676625722287093107010606",
"159318981080328462933766738409863797493",
"313525545417608629117318777636242382908",
"309751647087901041984143822284033753378",
"101508310946298798877821549722829592093",
"183220078846225271179781572169631705799"
]
},
"source": "https://github.com/elastic/elasticsearch/commit/206f6a2512f2ca690999b77a5c759ab214536b82",
"target": {
"file": "libs/grok/src/main/java/org/elasticsearch/grok/Grok.java"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-22144-729625b6",
"digest": {
"length": 511,
"function_hash": "78606588141394941292377601035551429948"
},
"source": "https://github.com/elastic/elasticsearch/commit/206f6a2512f2ca690999b77a5c759ab214536b82",
"target": {
"file": "libs/grok/src/main/java/org/elasticsearch/grok/Grok.java",
"function": "Grok"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-22144-743d25e2",
"digest": {
"length": 338,
"function_hash": "314977716389471019717029041633733458541"
},
"source": "https://github.com/elastic/elasticsearch/commit/206f6a2512f2ca690999b77a5c759ab214536b82",
"target": {
"file": "libs/grok/src/main/java/org/elasticsearch/grok/Grok.java",
"function": "forbidCircularReferences"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-22144-e1f0827d",
"digest": {
"length": 1164,
"function_hash": "331130921924370190697642416796273392643"
},
"source": "https://github.com/elastic/elasticsearch/commit/206f6a2512f2ca690999b77a5c759ab214536b82",
"target": {
"file": "libs/grok/src/main/java/org/elasticsearch/grok/Grok.java",
"function": "innerForbidCircularReferences"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-24T14:25:06Z"
}
}
],
"modified": "2026-10-24T14:25:06.105654559Z",
"provider": "osv",
"references": [
"https://discuss.elastic.co/t/elasticsearch-7-13-3-and-6-8-17-security-update/278100",
"https://security.netapp.com/advisory/ntap-20210827-0006/",
"https://www.oracle.com/security-alerts/cpuapr2022.html"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.8.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_cloud_native_core_automated_test_suite",
"extracted_events": [
{
"range": [
{
"introduced": "1.8.0"
},
{
"last_affected": "1.8.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-22144",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 443726,
"published_at": "2021-07-26T12:15:08.547+00:00"
}