6.5

CVE-2021-22145: elastic elasticsearch

CVSS: 6.5v3.1MediumModified
AliasesUBUNTU-CVE-2021-22145GHSA-q394-h7f5-7f44BIT-elasticsearch-2021-22145
Published 21-07-2021Last modified 08-07-2025

Vulnerability summary

CVE-2021-22145 is a medium (CVSS 6.5) vulnerability in elastic elasticsearch. EPSS estimates a 76.25% chance of exploitation in the next 30 days, higher than 99.5% of scored vulnerabilities. 3 public exploits are recorded.

Overall risk
51/100
0100
High · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
76.25%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits3reference, exploit-database, metasploit

Timeline

  1. 21-07-2021
    PublishedVulnerability first disclosed.
  2. 08-07-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

76.25%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 76.25% on 18-09-2026

18-09-202618-10-2026
EPSS score
76.25%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

3 found
  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • exploit-databasemultipleUnverified

    ElasticSearch 7.13.3 - Memory disclosure

    Maturity: poc

  • MetasploitMetasploitremoteUnverified

    Elasticsearch Memory Disclosure

    auxiliary/scanner/http/elasticsearch_memory_disclosure

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Elastic1 product
Oracle1 product
Org.elasticsearch.client1 product
  • elasticsearch-rest-client≥ 7.10.0, < 7.13.4
Ubuntu1 product
  • elasticsearchAll versions (No fix recorded)

4 vendors · 4 products

References

10 links