Read the docs
TI-2023-15035 Aliases CVE-2023-31417GHSA-99pc-69q9-jxf2

Elasticsearch Insertion of sensitive information in audit logs

Priority LOW 20CWE-532Published · Updated

Key facts

Attack vector
Local
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-532.

Summary

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.

Why it matters now

EPSS 0.00241 15th percentileScored 2026-11-07
Fix Partial Elasticsearch (Elastic): 7.17.12, 8.9.1org.elasticsearch:elasticsearch (Maven): 7.17.13, 8.9.2Red Hat: 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ElasticElasticsearch7.0.0 to before 7.17.12; 8.0.0 to before 8.9.17.17.12, 8.9.1Patch availableCNA
—org.elasticsearch:elasticsearch (Maven)7.0.0 to before 7.17.137.17.13Patch availableGHSA-99pc-69q9-jxf2
—org.elasticsearch:elasticsearch (Maven)8.0.0 to before 8.9.28.9.2Patch availableGHSA-99pc-69q9-jxf2
  • Elasticsearch VendorElastic Affected 7.0.0 to before 7.17.12; 8.0.0 to before 8.9.1 Fixed in 7.17.12, 8.9.1 Patch available CNA
  • org.elasticsearch:elasticsearch (Maven) Vendor— Affected 7.0.0 to before 7.17.13 Fixed in 7.17.13 Patch available GHSA-99pc-69q9-jxf2
  • org.elasticsearch:elasticsearch (Maven) Vendor— Affected 8.0.0 to before 8.9.2 Fixed in 8.9.2 Patch available GHSA-99pc-69q9-jxf2

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*7.0.0 – 7.17.12; 8.0.0 – 8.9.1VulnerableElastic
  • cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* Versions 7.0.0 – 7.17.12; 8.0.0 – 8.9.1 Vulnerable ·Elastic

Remediation

  • Fix · CNA Elasticsearch (Elastic) Fixed in 7.17.12, 8.9.1
  • Fix · GHSA-99pc-69q9-jxf2 org.elasticsearch:elasticsearch (Maven) Fixed in 7.17.13 Advisory →
  • Fix · GHSA-99pc-69q9-jxf2 org.elasticsearch:elasticsearch (Maven) Fixed in 8.9.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat OpenShift Container Platform 3.11AffectedNo fix planned: Out of support scope
Red Hat OpenShift Container Platform 4AffectedNo fix planned: Will not fix
Not affected: 1 product
  • Logging Subsystem for Red Hat OpenShift

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-31417
  2. 2026-10-03 Alias added: GHSA-99pc-69q9-jxf2

References

  • TI-2015-01295 The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows… KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-02491 The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which… KEVCVSS 3.1HIGH 8.1
  • TI-2023-15037 Elasticsearch StackOverflow vulnerability CVSS 3.1HIGH 7.5
  • TI-2021-05135 Information disclosure in Elasticsearch CVSS 3.1MEDIUM 6.5
  • TI-2021-05136 All versions of Elastic Cloud Enterprise has the Elasticsearch “anonymous” user enabled… CVSS 3.1HIGH 7.5
  • TI-2015-04530 Elasticsearch before 1.6.1 allows remote attackers to execute arbitrary code via… CVSS 3.0CRITICAL 9.8
See all 90 →

Sources