Vulnerability · Published Jul 21, 2021 · Assigned by elastic

CVE-2021-22145

Medium 6.5

In plain English

A medium-severity information exposure in Elasticsearch from Elastic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 76.2% (higher than 99.5% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)76.2%top 0.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling3Metasploit, Nuclei, Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.elasticsearch.client:elasticsearch-rest-client7.13.4GHSA-q394-h7f5-7f44

Affected products (as reported)

VendorProductVersions
Elastic Elasticsearch 7.10.0 – through 7.13.3

Weakness: CWE-200

References