CVE-2020-7021: Elasticsearch - Information Disclosure
- Cve: CVE-2020-7021
- Name: Elasticsearch - Information Disclosure
- Description: Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.
- Impact: Sensitive information like password hashes or tokens can be exposed to administrators, risking credential compromise.
- Remediation: Update to Elasticsearch 7.10.0 or later, or 6.8.14 or later.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: logged_in
- Requirements: Audit logging with emit_request_body enabled
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.0149
- Epss percentile: 0.74621
- Assignee: [email protected]
- Published at: 2021-02-10T19:15:11Z
- Age in days: 2113
- Modified at: 2026-06-17T03:24:08Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-7021
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-532 | Insertion of Sensitive Information into Log File |
References
| Url | Source | Tags |
|---|---|---|
| https://discuss.elastic.co/t/elastic-stack-7-11-0-and-6-8-14-security-update/263915 | nvd | Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20210319-0003/ | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| elastic:elasticsearch | >= 7.0.0, < 7.10.0; < 6.8.14 | no | nvd | /v1/products/elastic/elasticsearch |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| elastic/elasticsearch | package | yes | /v1/repositories/elastic/elasticsearch |
Index
- Repositories: 43
- Repositories high signal: 23
- Packages: 1
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 74440
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports