Skip to content
OpenAdvisories
High · 8.8 CVE-2020-7014 BIT-elasticsearch-2020-7014EUVD-2021-0670GHSA-hqqv-9x3v-mp7w

Privilege Escalation Flaw in Elasticsearch

Published Jun 3, 2020 · Updated Aug 4, 2024 · Assigned by elastic

Description

The fix for CVE-2020-7009 was found to be incomplete. Elasticsearch versions from 6.7.0 to 6.8.7 and 7.0.0 to 7.6.1 contain a privilege escalation flaw if an attacker is able to create API keys and also authentication tokens. An attacker who is able to generate an API key and an authentication token can perform a series of steps that result in an authentication token being generated with elevated privileges.

Affected products

VendorProductAffectedFixed
Elastic Elasticsearch 6.7.0 to 6.8.7 and 7.0.0 to 7.6.1 —

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.7.0, < 6.8.8 6.8.8 GHSA-hqqv-9x3v-mp7w
Maven org.elasticsearch:elasticsearch >= 7.0.0, < 7.6.2 7.6.2 GHSA-hqqv-9x3v-mp7w

References