CVE-2023-31417 MEDIUM

CVE-2023-31417: Elasticsearch Insertion of sensitive information in audit logs

Vendor Elastic
Product Elasticsearch
Weakness CWE-532 · Sensitive info in logs
Published October 26, 2023
Last update February 13, 2025

CVSS base score

4.1/10
Attack vector Local
Attack complexity High
Privileges required High
User interaction None
Confidentiality High
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

October 26, 2023 CVE published
February 13, 2025 Record updated