CVE-2023-31417: elastic elasticsearch
Vulnerability summary
CVE-2023-31417 is a medium (CVSS 4.4) vulnerability in elastic elasticsearch. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 14.3% of scored vulnerabilities.
Timeline
- 26-10-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA4.1MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- OSV · MavenEcosystem advisory · calculated4.1MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
0.00 pp
From 0.24% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Elastic1 product
- elasticsearch≥ 7.0.0, < 7.17.12 | ≥ 8.0.0, < 8.9.1 | ≥ 7.0.0, ≤ 7.17.12 | ≥ 8.0.0, ≤ 8.9.1
Org.elasticsearch1 product
- elasticsearch≥ 7.0.0, < 7.17.13 | ≥ 8.0.0, < 8.9.2
Ubuntu1 product
- elasticsearchAll versions (No fix recorded)
3 vendors · 3 products
References
7 links- security.netapp.com/advisory/ntap-20231130-0006/Third Party Advisory