What’s Vulnerable › Vulnerabilities
CVE-2023-49921
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-26 · updated 2026-06-17
- Weakness: CWE-532
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 products
- Elasticsearch: from 7.0.0 before 7.17.16; from 8.0.0 before 8.11.2 — fixed in 7.17.16, 8.11.2
How to fix
Upgrade to a fixed version: Elasticsearch 7.17.16, 8.11.2. Check the vendor advisory for mitigations.
References
- https://discuss.elastic.co/t/elasticsearch-8-11-2-7-17-16-security-update-esa-2023-29/349179
- https://discuss.elastic.co/t/elasticsearch-8-11-2-7-17-16-security-update-esa-2023-29/349179
Get alerted when CVE-2023-49921 or the next vulnerability affects your stack