ADVISORIES

GitHub Advisory Database

GHSA-g9fw-9x87-rmrj

Privilege Context Switching Error in Elasticsearch

Details

Elasticsearch versions before 6.8.13 and 7.9.2 contain a document disclosure flaw when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain complex 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 packages

EcosystemPackageAffected versions
Mavenorg.elasticsearch:elasticsearch
All versions before 6.8.13 (fixed in 6.8.13)
Mavenorg.elasticsearch:elasticsearch
From 7.0.0 before 7.9.2 (fixed in 7.9.2)

References