MODERATE 5.2

CVE-2023-49921

Elasticsearch Insertion of Sensitive Information into Log File

Description

An issue was discovered by Elastic whereby Watcher search input logged the search query results on DEBUG log level. This could lead to raw contents of documents stored in Elasticsearch to be printed in logs. Elastic has released 8.11.2 and 7.17.16 that resolves this issue by removing this excessive logging. This issue only affects users that use Watcher and have a Watch defined that uses the search input and additionally have set the search input’s logger to DEBUG or finer, for example using: org.elasticsearch.xpack.watcher.input.search, org.elasticsearch.xpack.watcher.input, org.elasticsearch.xpack.watcher, or wider, since the loggers are hierarchical.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.elasticsearch » elasticsearch
< 7.17.16>= 8.0.0, < 8.11.2
7.17.16, 8.11.2

Blast radius

1affected artifacts
423affected versions
4,483dependent artifacts (est.)
178,584dependent versions

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

DepthDependent versions
Direct
30,978
2 hops
63,336
3 hops
39,501
4 hops
31,325
5 hops
9,876
6 hops
3,568

Most used dependents

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