CVE-2023-31417
Elasticsearch Insertion of sensitive information in audit logs
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.
How to fix CVE-2023-31417
To remediate CVE-2023-31417, upgrade the affected package to a fixed version below.
- —upgrade to 7.17.13 or later
- —upgrade to 7.17.13 or later
Is CVE-2023-31417 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 7.0.0, < 7.17.13, >= 8.0.0, < 8.9.2
- >= 7.0.0, < 7.17.13
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N |