Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.elasticsearch/elasticsearch
  4. ›
  5. CVE-2023-49921

CVE-2023-49921: Elasticsearch Insertion of Sensitive Information into Log File

July 26, 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

  • discuss.elastic.co/t/elasticsearch-8-11-2-7-17-16-security-update-esa-2023-29/349179
  • github.com/advisories/GHSA-2hjr-vmf3-xwvp
  • github.com/elastic/elasticsearch
  • nvd.nist.gov/vuln/detail/CVE-2023-49921

Code Behaviors & Features

Detect and mitigate CVE-2023-49921 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.17.16, all versions starting from 8.0.0 before 8.11.2

Fixed versions

  • 7.17.16
  • 8.11.2

Solution

Upgrade to versions 7.17.16, 8.11.2 or above.

Impact 5.2 MEDIUM

CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

maven/org.elasticsearch/elasticsearch/CVE-2023-49921.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:43 +0000.