Skip to content
Fencer Vulns
low 3.1

CVE-2020-7020 json

Privilege Context Switching Error in Elasticsearch

published 2020-10-22 6 y ago modified 2026-09-08 2 mo ago also BIT-elasticsearch-2020-7020 , EUVD-2021-0657 , GHSA-g9fw-9x87-rmrj

cvss
3.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 65%
public exploits
0
none known

Summary

Elasticsearch versions before 6.8.13 and 7.9.2 contain a document disclosure flaw when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain complex queries. This could result in the search disclosing the existence of documents the attacker should not be able to view. This could result in an attacker gaining additional insight into potentially sensitive indices.

Patch / fix

  • maven org.elasticsearch:elasticsearch 6.8.13, 7.9.2
  • bitnami elasticsearch 6.8.13, 7.9.2
  • elastic elasticsearch 6.8.13, 7.9.2

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-7020 updated cvss 3.1

elasticsearch: not properly preserving security permissions when executing complex queries may lead to information disclosure

  • Red Hat Decision Manager 7 elasticsearch
    affected: no fix available “Fix deferred”
  • Red Hat JBoss Fuse 6 elasticsearch
    affected: no fix planned “Out of support scope”
  • Red Hat Process Automation 7 elasticsearch
    affected: no fix available “Fix deferred”
  • Red Hat Fuse 7.11
    fixed: vendor fix RHSA-2022:5532
  • Red Hat OpenShift Container Platform 3.11 openshift3/ose-logging-elasticsearch5 Red Hat OpenShift Container Platform 4 openshift4/ose-logging-elasticsearch5, openshift4/ose-logging-elasticsearch6
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.08% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
GitHub 3.1 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD 3.1 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:P/I:N/A:N
OSV 3.1 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.elasticsearch:elasticsearch
<6.8.13
>=7.0.0, <7.9.2
6.8.13
7.9.2
bitnami elasticsearch
<6.8.13
>=7.0.0, <7.9.2
6.8.13
7.9.2

Affected products

  • Elastic Elasticsearch

Classification

Weakness
  • CWE-270 Privilege Context Switching Error
  • CWE-269 Improper Privilege Management

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.