CVE-2021-22145

CVE-2021-22145 is a medium-severity vulnerability in Elastic Elasticsearch with a CVSS 3.x base score of 6.5. Its EPSS exploit-prediction score of 76% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-209.

Key facts

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.

Frequently asked questions

What is 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 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.
How severe is CVE-2021-22145?
CVE-2021-22145 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
Is CVE-2021-22145 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 76% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2021-22145?
CVE-2021-22145 primarily affects Elastic Elasticsearch. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2021-22145?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2021-22145 published?
CVE-2021-22145 was published on 2021-07-21 and last updated on 2026-06-17.

References

Affected products (2)

More vulnerabilities in Elastic Elasticsearch

All CVEs affecting Elastic Elasticsearch →

Other CWE-209 (Generation of Error Message Containing Sensitive Information) vulnerabilities

Browse all CWE-209 (Generation of Error Message Containing Sensitive Information) vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: