CVE-2021-22145: A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting.
CVE-2021-22145 affects 12 listed versions of Elasticsearch in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Elasticsearch
12 of 250 listed versions are affected. Fixed in 7.13.4. The newest release, 9.5.7, is not affected.
7.13.3 7.13.2 7.13.1 7.13.0 7.12.1 7.12.0 7.11.2 7.11.1 7.11.0 7.10.2 7.10.1 7.10.0
What it is
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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (NVD)
Published by Elastic on 21 July 2021. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).
Sources
Check one version you run: look CVE-2021-22145 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.