Vulnerability · Published Jul 26, 2024 · Assigned by elastic

CVE-2023-49921

Medium 5.2

In plain English

A medium-severity sensitive data in logs in Elasticsearch from Elastic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.2Medium
Exploit odds (30 days)0.4%top 61.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.elasticsearch:elasticsearch7.17.16GHSA-2hjr-vmf3-xwvp
Mavenorg.elasticsearch:elasticsearch8.11.2GHSA-2hjr-vmf3-xwvp

Affected products (as reported)

VendorProductVersions
Elastic Elasticsearch 7.0.0 – before 7.17.168.0.0 – before 8.11.2

Weakness: CWE-532 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

References