vulnerability
Elastic Elasticsearch: CVE-2023-31417: Insertion of Sensitive Information into Log File
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 4 | (AV:L/AC:M/Au:M/C:C/I:N/A:N) | Oct 26, 2023 | May 13, 2025 | Mar 25, 2026 |
Severity
4
CVSS
(AV:L/AC:M/Au:M/C:C/I:N/A:N)
Published
Oct 26, 2023
Added
May 13, 2025
Modified
Mar 25, 2026
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.
Solution
elastic-elasticsearch-upgrade-latest
References
- CWE-532
- CVE-2023-31417
- https://attackerkb.com/topics/CVE-2023-31417
- https://discuss.elastic.co/t/elasticsearch-8-9-2-and-7-17-13-security-update/342479
- https://security.netapp.com/advisory/ntap-20231130-0006/
- https://www.elastic.co/community/security
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-2709
Rapid7 Labs
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.