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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.elasticsearch » elasticsearch | >= 7.13.0, < 7.14.0 | 7.14.0 |
Blast radius
27% of the dependent artifacts (24) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 185 |
| 2 hops | 530 |
| 3 hops | 124 |
| 4 hops | 26 |
| 5 hops | 8 |
Most used dependents
- org.elasticsearch.client » elasticsearch-rest-high-level-client684 usages
- org.elasticsearch.client » transport312 usages
- org.springframework.boot » spring-boot-starter-data-elasticsearch193 usages
- org.springframework.data » spring-data-elasticsearch126 usages
- org.elasticsearch.test » framework92 usages
- org.elasticsearch.client » x-pack-transport28 usages
- io.apiman » apiman-manager-api-core19 usages
- io.apiman » apiman-test-common17 usages
- io.apiman » apiman-test-policies14 usages
- io.apiman » apiman-gateway-platforms-war10 usages
- io.apiman » apiman-common-es9 usages
- io.apiman » apiman-gateway-engine-es8 usages
- io.apiman » apiman-manager-api-rest-impl6 usages
- org.n52.arctic-sea » iceland-statistics6 usages
- org.open-metadata » openmetadata-service5 usages
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
| Advisory | t/elastic-stack-7-14-1-security-update/283077 | discuss.elastic.co |
| Advisory | community/security | elastic.co |
