CVE-2021-22144: 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.
Medium CVSS 6.5
- CVE id
- CVE-2021-22144
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Elasticsearch Runtimes and servers |
< 6.8.17 >= 7.0.0, < 7.13.3 |
6.8.17, 7.13.3 |
How to fix it
Upgrade Elasticsearch to the fixed release of the line you run: 6.8.17, 7.13.3.
curl -s localhost:9200
- Upgrade Elasticsearch (the elasticsearch image tag or packages) to the patched release with a rolling restart; on Elastic Cloud, upgrade the deployment.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2021-22144 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2021-22144
- Web: https://discuss.elastic.co/t/elasticsearch-7-13-3-and-6-8-17-security-update/278100
- Web: https://security.netapp.com/advisory/ntap-20210827-0006/
- Web: https://www.oracle.com/security-alerts/cpuapr2022.html
- Web: https://discuss.elastic.co/t/elasticsearch-7-13-3-and-6-8-17-security-update/278100
- Web: https://security.netapp.com/advisory/ntap-20210827-0006/
- Web: https://www.oracle.com/security-alerts/cpuapr2022.html
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.