Live threats

All CVEs / Elastic

CVE-2021-22137Elasticsearch

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
May 13, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-281
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

In Elasticsearch versions before 7.11.2 and 6.8.15 a document disclosure flaw was found when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain cross-cluster search queries. This could result in the search disclosing the existence of documents the attacker should not be able to view. This could result in an attacker gaining additional insight into potentially sensitive indices.

Original NVD text.

What to do

  1. Apply the vendor's security update for Elasticsearch.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.elasticsearch:elasticsearch ≥ 7.11.0 < 7.11.2 7.11.2 —
Maven org.elasticsearch:elasticsearch < 6.8.15 6.8.15 —

Per OSV / GitHub Advisories (GHSA-hr65-qq6p-87r4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
elasticelasticsearch< 6.8.15
elasticelasticsearch≥ 7.11.0 < 7.11.2

Official sources

References

Links published by the sources. Open them with care.