Live threats

All CVEs / Elastic

CVE-2023-49921Elasticsearch

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
—
Auth required
Yes
Published
Jul 26, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-532
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Elasticsearch.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.elasticsearch:elasticsearch < 7.17.16 7.17.16 —
Maven org.elasticsearch:elasticsearch ≥ 8.0.0 < 8.11.2 8.11.2 —

Per OSV / GitHub Advisories (GHSA-2hjr-vmf3-xwvp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
elasticelasticsearch≥ 7.0.0 < 7.17.16
elasticelasticsearch≥ 8.0.0 < 8.11.2

Official sources

References

Links published by the sources. Open them with care.