CVE-2023-31417

Elasticsearch Insertion of sensitive information in audit logs

State
Published
Severity
4.1 Medium
Published
Oct 26, 2023
Updated
Feb 13, 2025
Reserved
Apr 27, 2023

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.14.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:Nelastic

Weaknesses

  • CWE-532 Insertion of Sensitive Information into Log File

Affected Products

ProductVersions
ElasticsearchElastic
  • 7.0.0 to before 7.17.12Affected
  • 8.0.0 to before 8.9.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.