CVE-2020-7021
MEDIUM 4.9CVSS 3.1Insertion of Sensitive Information into Log File in Elasticsearch
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.
- Published
- 10 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@elastic.co
- NVD status
- Modified
- Weakness
- CWE-532
- Also known as
- BIT-elasticsearch-2020-7021GHSA-cqgv-256r-m9r8
- Sources
- NVDJSONOSV GHSA-cqgv-256r-m9r8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
< 6.8.14 | 6.8.14 |
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.10.0 | 7.10.0 |
| OSV | Maven | org.elasticsearch:elasticsearch | < 6.8.14 | 6.8.14 |
| OSV | Maven | org.elasticsearch:elasticsearch | >= 7.0.0, < 7.10.0 | 7.10.0 |
References
- https://discuss.elastic.co/t/elastic-stack-7-11-0-and-6-8-14-security-update/263915 · Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210319-0003/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7021 · ADVISORY
- https://github.com/elastic/elasticsearch · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 10 Feb 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)