MODERATE 5.3

CVE-2021-22135

API information disclosure flaw in Elasticsearch

Description

Elasticsearch versions before 7.11.2 and 6.8.15 contain a document disclosure flaw was found in the Elasticsearch suggester and profile API when Document and Field Level Security are enabled. The suggester and profile API are normally disabled for an index when document level security is enabled on the index. Certain queries are able to enable the profiler and suggester which could lead to disclosing the existence of documents and fields the attacker should not be able to view.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.elasticsearch » elasticsearch
< 6.8.15>= 7.0.0, < 7.11.2
6.8.15, 7.11.2

Blast radius

1affected artifacts
335affected versions
4,204dependent artifacts (est.)
164,998dependent versions

59% of the dependent artifacts (2,506) still pull an affected version in their latest release.

DepthDependent versions
Direct
27,696
2 hops
59,139
3 hops
35,320
4 hops
30,049
5 hops
9,278
6 hops
3,516

Most used dependents

Computed from the dependency graph of build 20261125.0317 (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

Advisorynvd.nist.gov
Webdiscuss.elastic.co
Websecurity.netapp.com