MODERATE 6.5

CVE-2021-22145

Generation of Error Message Containing Sensitive Information in Elasticsearch

Description

A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. A user with the ability to submit arbitrary queries to Elasticsearch could submit a malformed query that would result in an error message returned containing previously used portions of a data buffer. This buffer could contain sensitive information such as Elasticsearch documents or authentication details.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.elasticsearch.client » elasticsearch-rest-client
>= 7.10.0, < 7.13.4
7.13.4

Blast radius

1affected artifacts
38affected versions
551dependent artifacts (est.)
19,621dependent versions

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

DepthDependent versions
Direct
1,287
2 hops
4,442
3 hops
3,144
4 hops
10,485
5 hops
221
6 hops
42

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.