CVE-2021-22145
A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. A user with the ability to submit…
- Published
- Updated
- Reserved
- Assigned by
- elastic
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.
Timeline
ID reserved
By elastic
- 7 months later
· 7 months later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 76.2% · top 0.5% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
Affected products
- affected 7.10.0 – ≤ 7.13.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.elasticsearch.client:elasticsearch-rest-clientGHSA-q394-h7f5-7f44 (opens in a new tab)
References (5)
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20210827-0006/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177 (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html (opens in a new tab)x_refsource_MISCx_transferred
- https://gist.github.com/lucasdrufva/f9c5d7c9e26ee087b736d727953afd34 (opens in a new tab)technical-description
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-q394-h7f5-7f44 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2021-22145)Record last updated .