CVE-2021-22145
Java vulnerability analysis and mitigation

Overview

A memory disclosure vulnerability was identified in Elasticsearch versions 7.10.0 to 7.13.3 error reporting. The vulnerability, tracked as CVE-2021-22145, was discovered by Eric Howard of Bell Canada and disclosed in July 2021. The vulnerability affects Elasticsearch installations and allows authenticated users with query permissions to potentially access sensitive information (Elastic Discussion).

Technical details

The vulnerability occurs in Elasticsearch's error reporting mechanism where a user with the ability to submit arbitrary queries could send a malformed query that triggers an error message containing previously used portions of a data buffer. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, indicating network accessibility, low attack complexity, and requiring low privileges (NVD).

Impact

The exposed data buffer could contain sensitive information such as Elasticsearch documents or authentication details. This information disclosure could potentially lead to unauthorized access to confidential data or authentication credentials (Elastic Discussion, NVD).

Mitigation and workarounds

Users should upgrade their Elasticsearch installations to version 7.13.4 or later to address this vulnerability. There are no known workarounds for this issue other than upgrading to a patched version (Elastic Discussion).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55749HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-tool-jetty-resources
NoYesDec 01, 2025
CVE-2025-64775HIGH7.5
  • JavaJava
  • google-guice
NoYesDec 01, 2025
CVE-2025-13806MEDIUM6.9
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025
CVE-2025-13472MEDIUM5.3
  • JavaJava
  • com.blazemeter.plugins:blazemeterjenkinsplugin
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management