CVE-2023-31417
published medium CVSS 3.1 · 4.1Elasticsearch Insertion of sensitive information in audit logs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Elastic | — | Elasticsearch7.0.0 to < 7.17.12 · 8.0.0 to < 8.9.1 · Other versions: unaffected | Affected | Not stated | elastic |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.1 / 10
- Severity
- medium
- Provider
- elastic · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Elastic | Elasticsearch | 7.0.0 to < 7.17.12 (affected · semver)8.0.0 to < 8.9.1 (affected · semver)Default: unaffected | elastic · cna |
Weaknesses
1- CWE-532 CWE-532: Insertion of Sensitive Information into Log File
References
3Provider assertions
2elastic · cna
Elasticsearch Insertion of sensitive information in audit logs
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f7f3e4d3def95050db0d9854704ada374618aa20d8fdc51d777651faf7d3cc2b
- Ingested
- 23 Sep 2026, 08:08:48 UTC
- Source record
- Official CVE record