Skip to main content
MEDIUM

CVE-2021-22145

CVSS v3

6.5

MEDIUM

EPSS Score

76.2 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for elasticsearch.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • elasticsearchBitnamifrom 7.10.0 · fixed in 7.13.4
  • org.elasticsearch.client:elasticsearch-rest-clientMavenfrom 7.10.0 · fixed in 7.13.4

Vendor advisories

  • CVE-2021-22145 Red Hat Product Security

    elasticsearch: memory disclosure in error reporting

Full record on NVD

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.

Technical details

Published
2021-07-21
Exploit-DB
EDB-50149

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.

Is CVE-2021-22145 actively exploited?

Active exploitation of CVE-2021-22145 has not been confirmed. Its EPSS score was 76.2% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-22145?

CVE-2021-22145 has a CVSS v3 base score of 6.5 (MEDIUM severity).

Running elasticsearch? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month