CVE-2021-22137
JSON

5.3medium

Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
1.19% (higher than 68% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
elastic
Also known as
GHSA-hr65-qq6p-87r4BIT-ELASTICSEARCH-2021-22137

Description

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.

Affected

Product or packageVersionsReported by
Elastic Elasticsearchbefore 7.11.2 and 6.8.15, before 6.8.15, from 7.11.0 before 7.11.2CVE List, NVD
org.elasticsearch:elasticsearch (Maven)from 7.11.0 before 7.11.2, before 6.8.15GitHub Advisory Database
elasticsearch (Bitnami)before 6.8.15, from 7.11.0 before 7.11.2Bitnami Vulnerability Database

All scores

GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

What each source says

CVE List

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.

NVD (es)

En Elasticsearch versiones anteriores a 7.11.2 y la 6.8.15, se encontró un fallo en la divulgación del documento cuando Document o Field Level Security es usado. Las consultas de Búsqueda no conservan apropiadamente los permisos de seguridad al ejecutar determinadas consultas de búsqueda cross-cluster. Esto podría resultar en que la búsqueda revele la existencia de documentos que el atacante no sería capaz de visualizar. Esto podría resultar en que un atacante obtenga información adicional sobre índices potencialmente confiables

References

Sources

SourceRecordLicence
CVE ListCVE-2021-22137 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-hr65-qq6p-87r4 changed 2024-02-20CC-BY-4.0
NVDCVE-2021-22137 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-ELASTICSEARCH-2021-22137 changed 2026-09-08Apache-2.0