CVE-2021-22145
MEDIUM 6.5CVSS 3.1Generation of Error Message Containing Sensitive Information in Elasticsearch
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.
- Published
- 21 Jul 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@elastic.co
- NVD status
- Modified
- Weakness
- CWE-200CWE-209
- Also known as
- BIT-elasticsearch-2021-22145GHSA-q394-h7f5-7f44
- Sources
- NVDJSONOSV GHSA-q394-h7f5-7f44JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
>= 7.10.0, <= 7.13.3 | |
| NVD | oracle | communications_cloud_native_core_automated_test_suitecpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.8.0:*:*:*:*:*:*:* |
= 1.8.0 | |
| OSV | Maven | org.elasticsearch.client:elasticsearch-rest-client | >= 7.10.0, < 7.13.4 | 7.13.4 |
References
- http://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html · Exploit, Third Party Advisory, VDB Entry, WEB
- https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177 · Vendor Advisory, WEB
- https://gist.github.com/lucasdrufva/f9c5d7c9e26ee087b736d727953afd34 · WEB
- https://security.netapp.com/advisory/ntap-20210827-0006/ · Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuapr2022.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-22145 · ADVISORY
- https://github.com/elastic/elasticsearch · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 21 Jul 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)