Security mailing lists by PureSourceCode

CVE-2023-31417

MEDIUM 4.4CVSS 3.1

Elasticsearch allows insertion of sensitive information into log files when using deprecated URIs

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.

Published
26 Oct 2023
Last modified
17 Jun 2026
Assigned by
security@elastic.co
NVD status
Modified
Weakness
CWE-532
Also known as
BIT-elasticsearch-2023-31417GHSA-99pc-69q9-jxf2
Sources
NVDJSONOSV GHSA-99pc-69q9-jxf2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.4 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
NVD security@elastic.co (Secondary) CVSS 3.1 MEDIUM 4.1 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.1 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD elastic elasticsearch
cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
>= 7.0.0, <= 7.17.12
NVD elastic elasticsearch
cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
>= 8.0.0, <= 8.9.1
OSV Maven org.elasticsearch:elasticsearch >= 7.0.0, < 7.17.13 7.17.13
OSV Maven org.elasticsearch:elasticsearch >= 8.0.0, < 8.9.2 8.9.2

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 26 Oct 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Oct 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.