Skip to content
OpenAdvisories
Medium · 5.2 CVE-2023-49921 BIT-elasticsearch-2023-49921EUVD-2024-2225GHSA-2hjr-vmf3-xwvp

Elasticsearch Insertion of Sensitive Information into Log File

Published Jul 26, 2024 · Updated Aug 2, 2024 · Assigned by elastic

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

VendorProductAffectedFixed
Elastic Elasticsearch 7.0.0 – < 7.17.16, 8.0.0 – < 8.11.2 7.17.16

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS elasticsearch No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.elasticsearch:elasticsearch < 7.17.16 7.17.16 GHSA-2hjr-vmf3-xwvp
Maven org.elasticsearch:elasticsearch >= 8.0.0, < 8.11.2 8.11.2 GHSA-2hjr-vmf3-xwvp

Advisories 1

References