Skip to content
ElasticsearchGHSA-2hjr-vmf3-xwvp

Elasticsearch Insertion of Sensitive Information into Log File

Medium5.2CVE-2023-49921 · Published Jul 26, 2024 · updated Jul 31, 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.

GitHub advisory

Affected versions

PackageAffectedFixed in
org.elasticsearch:elasticsearch
Maven
< 7.17.167.17.16
>= 8.0.0, < 8.11.28.11.2
Details and references
CVSS 3.1
CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-532
Also known as
BIT-elasticsearch-2023-49921, CVE-2023-49921

More Elasticsearch advisories

All Elasticsearch
Advisory
Elasticsearch Incorrect Authorization vulnerability
MediumDec 17, 2024
Elasticsearch stores private key on disk unencrypted
Medium4.9Jul 31, 2024
Elasticsearch StackOverflow vulnerability
Medium4.9Jun 13, 2024
Elasticsearch Uncaught Exception leading to crash
Medium4.3Mar 29, 2024
Elasticsearch Incorrect Authorization vulnerability
Medium4.4Mar 27, 2024
Elasticsearch Uncontrolled Resource Consumption vulnerability
Medium4.9Mar 27, 2024

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.