Out-of-bounds read in Elasticsearch - CVE-2021-22145

 

Out-of-bounds read in Elasticsearch - CVE-2021-22145

Published: September 21, 2022 / Updated: September 7, 2023


Vulnerability identifier: #VU67519
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-22145
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists in Elasticsearch error reporting. A remote attacker can submit a malformed query that would result in an error message returned containing previously used portions of a data buffer with sensitive information such as Elasticsearch documents or authentication details.


Affected software

Elasticsearch
Operations Dashboard
Netcool Operations Insight

How to mitigate CVE-2021-22145

Install updates from vendor's website.

Elasticsearch - update to 7.13.4
Operations Dashboard - addressed in versions 2020.4.1-3, 2021.3.1
Netcool Operations Insight - update to 1.6.10

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins