Elasticsearch Insertion of Sensitive Information into Log File
Moderate severity
GitHub Reviewed
Published
Jul 26, 2024
to the GitHub Advisory Database
•
Updated Aug 5, 2024
Package
Affected versions
< 7.17.16
>= 8.0.0, < 8.11.2
Patched versions
7.17.16
8.11.2
Description
Published by the National Vulnerability Database
Jul 26, 2024
Published to the GitHub Advisory Database
Jul 26, 2024
Reviewed
Jul 26, 2024
Last updated
Aug 5, 2024
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