CVE-2023-49921
Java vulnerability analysis and mitigation

Overview

An issue was discovered by Elastic whereby Watcher search input logged the search query results on DEBUG log level. This vulnerability affects Elasticsearch versions from 7.0.0 to 7.17.16 and 8.0.0 to 8.11.2. The vulnerability could lead to raw contents of documents stored in Elasticsearch being printed in logs (Elastic Advisory).

Technical details

The vulnerability occurs when the Watcher search input's logger is set to DEBUG or finer level. This affects configurations using org.elasticsearch.xpack.watcher.input.search, org.elasticsearch.xpack.watcher.input, org.elasticsearch.xpack.watcher, or wider hierarchical loggers. The vulnerability has been assigned a CVSS v3.1 base score of 5.2 (Medium) with vector AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N, indicating potential high confidentiality impact (NVD, Elastic Advisory).

Impact

The vulnerability could result in sensitive information disclosure as raw contents of documents stored in Elasticsearch could be exposed through log files. This excessive logging of search query results could potentially reveal confidential data to unauthorized parties (Red Hat, Elastic Advisory).

Mitigation and workarounds

Elastic has released versions 8.11.2 and 7.17.16 that resolve this issue by removing the excessive logging. For users unable to upgrade immediately, a workaround is available by setting the Watcher search input logger to INFO or higher (WARN, ERROR) instead of DEBUG level (Elastic Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14306CRITICAL10
  • JavaJava
  • net.sf.robocode:robocode.core
NoYesDec 09, 2025
CVE-2025-14307CRITICAL9.3
  • JavaJava
  • net.sf.robocode:robocode.battle
NoYesDec 09, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management