1. Home
  2. Vulnerabilities
  3. CVE-2023-31417

CVE-2023-31417

Elasticsearch generally filters out sensitive information and credentials before logging to the audit log. It…

Published 26 Oct 2023 · modified 17 Jun 2026 · Sources: NVD, EPSS (FIRST)

Low 22/100

Summary

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.

Affected products and versions

Elastic (2 line(s))
Elastic
ProductVersionsFixed inSource
Elasticsearch from 7.0.0 (included) to 7.17.12 (included) — NVD
Elasticsearch from 8.0.0 (included) to 8.9.1 (included) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1, NVD)
Weakness
CWE-532 · Divulgation d'information

How this data is obtained and calculated