CVE-2021-22135
JSON

5.3medium

API information disclosure flaw in Elasticsearch

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
1.34% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
elastic
Also known as
GHSA-62ww-4p3p-7fhjBIT-ELASTICSEARCH-2021-22135

Description

Elasticsearch versions before 7.11.2 and 6.8.15 contain a document disclosure flaw was found in the Elasticsearch suggester and profile API when Document and Field Level Security are enabled. The suggester and profile API are normally disabled for an index when document level security is enabled on the index. Certain queries are able to enable the profiler and suggester which could lead to disclosing the existence of documents and fields the attacker should not be able to view.

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

Elasticsearch versions before 7.11.2 and 6.8.15 contain a document disclosure flaw was found in the Elasticsearch suggester and profile API when Document and Field Level Security are enabled. The suggester and profile API are normally disabled for an index when document level security is enabled on the index. Certain queries are able to enable the profiler and suggester which could lead to disclosing the existence of documents and fields the attacker should not be able to view.

NVD (es)

Elasticsearch versiones anteriores a 7.11.2 y 6.8.15, contienen un fallo en la divulgación de documentos que se encontró en la API suggester y profile de Elasticsearch cuando Document and Field Level Security está habilitada. La API suggester y profile normalmente están deshabilitadas para un índice cuando la seguridad a nivel de documento está habilitada en el índice. Determinadas consultas son capaces de habilitar el profiler y suggester, lo que podría conllevar a revelar la existencia de documentos y campos que el atacante no sería capaz de visualizar

References

Sources

SourceRecordLicence
CVE ListCVE-2021-22135 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-62ww-4p3p-7fhj changed 2024-02-17CC-BY-4.0
NVDCVE-2021-22135 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-ELASTICSEARCH-2021-22135 changed 2026-09-08Apache-2.0