Skip to content
OpenAdvisories
Medium · 4.1 CVE-2023-31417 BIT-elasticsearch-2023-31417EUVD-2023-2709GHSA-99pc-69q9-jxf2

Elasticsearch Insertion of sensitive information in audit logs

Published Oct 26, 2023 · Updated Feb 13, 2025 · Assigned by 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.

Affected products

VendorProductAffectedFixed
Elastic Elasticsearch 7.0.0 – < 7.17.12, 8.0.0 – < 8.9.1 7.17.12

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS elasticsearch No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.elasticsearch:elasticsearch >= 7.0.0, < 7.17.13 7.17.13 GHSA-99pc-69q9-jxf2
Maven org.elasticsearch:elasticsearch >= 8.0.0, < 8.9.2 8.9.2 GHSA-99pc-69q9-jxf2

Advisories 1

References