CVE-2021-22145: elastic elasticsearch
Vulnerability summary
CVE-2021-22145 is a medium (CVSS 6.5) vulnerability in elastic elasticsearch. EPSS estimates a 76.25% chance of exploitation in the next 30 days, higher than 99.5% of scored vulnerabilities. 3 public exploits are recorded.
Timeline
- 21-07-2021PublishedVulnerability first disclosed.
- 08-07-2025Last modifiedVulnerability information updated.
Description
A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. A user with the ability to submit arbitrary queries to Elasticsearch could submit a malformed query that would result in an error message returned containing previously used portions of a data buffer. This buffer could contain sensitive information such as Elasticsearch documents or authentication details.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · MavenEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
76.25%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 76.25% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
3 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
ElasticSearch 7.13.3 - Memory disclosure
Maturity: poc
Elasticsearch Memory Disclosure
auxiliary/scanner/http/elasticsearch_memory_disclosure
Maturity: poc
Weaknesses
CWE · root cause- CWE-200Exposure of Sensitive Information to an Unauthorized ActorThe product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
- CWE-209Generation of Error Message Containing Sensitive InformationThe product generates an error message that includes sensitive information about its environment, users, or associated data.
Affected systems
Elastic1 product
- elasticsearch≥ 7.10.0, ≤ 7.13.3
Oracle1 product
Org.elasticsearch.client1 product
- elasticsearch-rest-client≥ 7.10.0, < 7.13.4
Ubuntu1 product
- elasticsearchAll versions (No fix recorded)
4 vendors · 4 products
References
10 links- packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.htmlX Refsource MISCWEBExploitThird Party AdvisoryVDB Entry