HIGH 8.8

CVE-2021-37937

Elasticsearch privilege escalation

Description

An issue was found with how API keys are created with the Fleet-Server service account. When an API key is created with a service account, it is possible that the API key could be created with higher privileges than intended. Using this vulnerability, a compromised Fleet-Server service account could escalate themselves to a super-user.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.elasticsearch » elasticsearch
>= 7.13.0, < 7.14.0
7.14.0

Blast radius

1affected artifacts
5affected versions
86dependent artifacts (est.)
873dependent versions

27% of the dependent artifacts (24) still pull an affected version in their latest release.

DepthDependent versions
Direct
185
2 hops
530
3 hops
124
4 hops
26
5 hops
8

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorydiscuss.elastic.co
Advisoryelastic.co