GitHub Advisoryadvisory · Maven

GHSA-2hjr-vmf3-xwvp Elasticsearch Insertion of Sensitive Information into Log File

MEDIUM Published 2024-07-26 Modified 2024-07-26 Official page ↗
Aliases
CVE-2023-49921
Ecosystem
Maven
Packages
org.elasticsearch:elasticsearch
Severity
Moderate
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Weaknesses
CWE-532
Reviewed
2024-07-26

Affected packages

• Maven org.elasticsearch:elasticsearch: < 7.17.16 → fixed in 7.17.16 • Maven org.elasticsearch:elasticsearch: >= 8.0.0, < 8.11.2 → fixed in 8.11.2

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.

Related

Alias · CVE (1)

  • CVE-2023-49921 An issue was discovered by Elastic whereby Watcher search input logged the search query results on DEBUG log level. vulnerability

Weakness · CWE (1)

  • CWE-532 Insertion of Sensitive Information into Log File weakness

References