Medium severity · published Jul 21, 2021
CVE-2021-22145
A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting
6.5
CVSS
76.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)76.2% · higher than 100% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EL
Elasticsearch · Elastic
7.10.0 through 7.13.3 · source: NVD
CC
Communications Cloud Native Core Automated Test Suite · Oracle
1.8.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-22145
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-22145
Exploit
http://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html
Vendor Advisory
https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177
gist.github.com
https://gist.github.com/lucasdrufva/f9c5d7c9e26ee087b736d727953afd34
Third Party Advisory
https://security.netapp.com/advisory/ntap-20210827-0006/
Patch
https://www.oracle.com/security-alerts/cpuapr2022.html
More from Elasticsearch
9.8
CVE-2015-1427
The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the sandbox protection mechanism and execute arbitrary shell…
8.1
CVE-2014-3120
The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code via the source…
9.8
CVE-2015-5377
Elasticsearch before 1.6.1 allows remote attackers to execute arbitrary code via unspecified vectors involving the transport protocol
8.8
CVE-2026-72649
Deserialization of Untrusted Data in Elasticsearch Leading to Remote Code Execution
8.8
CVE-2026-72642
Use of Out-of-range Pointer Offset in the Elasticsearch Machine Learning Native Inference Process
