ADVISORIES

Vulnerability

CVE-2023-31417

Elasticsearch generally filters out sensitive information and credentials before logging to the audit log. It was found that this filtering was not applied when requests to Elasticsearch use certain deprecated URIs for APIs. The impact of this flaw is that sensitive information such as passwords and tokens might be printed in cleartext in Elasticsearch audit logs. Note that audit logging is disabled by default and needs to be explicitly enabled and even when audit logging is enabled, request bodies that could contain sensitive information are not printed to the audit log unless explicitly configured.

2 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Maven 1Ubuntu 1

Advisories

  • GHSA-99pc-69q9-jxf2

    Elasticsearch allows insertion of sensitive information into log files when using deprecated URIs

    Moderate CVE-2023-31417 Maven Updated 13 February 2025
  • UBUNTU-CVE-2023-31417

    Elasticsearch generally filters out sensitive information and credentials before logging to the audit log. It was found that this filtering was not applied when requests to Elasticsearch use certain deprecated URIs for…

    CVE-2023-31417 Ubuntu Updated 24 October 2025

References