CVE-2023-49921: Elasticsearch Insertion of Sensitive Information into Log File
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.
Published Jul 26, 2024 · Updated Aug 5, 2024
Affected packages
org.elasticsearch:elasticsearch
- Ecosystem
- Maven
- Affected
- < 7.17.16
- Fixed in
- 7.17.16
- Check
mvn dependency:tree -Dincludes=org.elasticsearch:elasticsearch
org.elasticsearch:elasticsearch
- Ecosystem
- Maven
- Affected
- >= 8.0.0, < 8.11.2
- Fixed in
- 8.11.2
- Check
mvn dependency:tree -Dincludes=org.elasticsearch:elasticsearch
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2024-52979
Elasticsearch Uncontrolled Resource Consumption Vulnerability
medium6.5May 1, 2025CVE-2024-52981
Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion
medium4.9Apr 8, 2025CVE-2024-43709
Elasticsearch allocation of resources without limits or throttling leads to crash
medium6.5Jan 21, 2025CVE-2024-12539
Elasticsearch Incorrect Authorization vulnerability
medium6.0Dec 17, 2024CVE-2024-23444
Elasticsearch stores private key on disk unencrypted
medium4.9Jul 31, 2024CVE-2024-37280
Elasticsearch StackOverflow vulnerability
medium4.9Jun 13, 2024
