Skip to content
OpenAdvisories
Low · 3.1 CVE-2020-7020 BIT-elasticsearch-2020-7020EUVD-2021-0657GHSA-g9fw-9x87-rmrj

Privilege Context Switching Error in Elasticsearch

Published Oct 22, 2020 · Updated Aug 4, 2024 · Assigned by elastic

Description

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 products

VendorProductAffectedFixed
Elastic Elasticsearch before 6.8.13 and 7.9.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS elasticsearch No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.elasticsearch:elasticsearch < 6.8.13 6.8.13 GHSA-g9fw-9x87-rmrj
Maven org.elasticsearch:elasticsearch >= 7.0.0, < 7.9.2 7.9.2 GHSA-g9fw-9x87-rmrj

Advisories 1

References