CVE-2023-49921

Medium

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.

SeverityMedium
CVSS5.2
Exploit probability—
ProductElasticsearch
PublishedJul 26, 2024
First seenJul 26, 2024
Weakness typeCWE-532CWE-532

How to fix

Update
  • elastic elasticsearch7.17.16, 8.11.2 or later
  • org.elasticsearch:elasticsearch7.17.16, 8.11.2 or later

Affected products

ProductAffected versionsFixed in
elastic elasticsearch7.0.0 ≤ v < 7.17.16, 8.0.0 ≤ v < 8.11.27.17.16, 8.11.2
org.elasticsearch:elasticsearchMavenv < 7.17.16, 8.0.0 ≤ v < 8.11.27.17.16, 8.11.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.