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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| org.elasticsearch:elasticsearch Maven | < 7.17.16 | 7.17.16 |
| >= 8.0.0, < 8.11.2 | 8.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| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Dec 172024 | Elasticsearch Incorrect Authorization vulnerability | Medium | 8.16.2 |
| Jul 312024 | Elasticsearch stores private key on disk unencrypted | Medium4.9 | 7.17.23+1 more |
| Jun 132024 | Elasticsearch StackOverflow vulnerability | Medium4.9 | 8.14.0 |
| Mar 292024 | Elasticsearch Uncaught Exception leading to crash | Medium4.3 | 8.11.1 |
| Mar 272024 | Elasticsearch Incorrect Authorization vulnerability | Medium4.4 | 8.13.0 |
| Mar 272024 | Elasticsearch Uncontrolled Resource Consumption vulnerability | Medium4.9 | 7.17.19+1 more |