Skip to content
Fencer Vulns
medium 6.5

CVE-2021-22147 json

Exposure of sensitive information in Elasticsearch

published 2021-09-15 5 y ago modified 2026-09-08 2 mo ago also BIT-elasticsearch-2021-22147 , EUVD-2021-1968 , GHSA-45h5-r968-5xr7

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

Summary

Elasticsearch before 7.14.0 did not apply document and field level security to searchable snapshots. This could lead to an authenticated user gaining access to information that they are unauthorized to view.

Patch / fix

  • maven org.elasticsearch:elasticsearch 7.14.0
  • bitnami elasticsearch 7.14.0
  • elastic elasticsearch 7.14.0

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-2021-22147 updated cvss 5.7

elasticsearch: document and field level security was not applied to searchable snapshots

  • Red Hat JBoss Data Grid 6 elasticsearch Red Hat JBoss Fuse 6 elasticsearch Red Hat JBoss Fuse Service Works 6 elasticsearch
    affected: no fix planned “Out of support scope”
  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/elasticsearch6-rhel8 Red Hat OpenShift Service Mesh 1 servicemesh-grafana, servicemesh-grafana-prometheus Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-grafana-prometheus Red Hat Decision Manager 7 elasticsearch Red Hat Fuse 7 elasticsearch Red Hat Integration Camel K 1 elasticsearch
    +4 more products
    Red Hat OpenShift Container Platform 3.11 openshift3/ose-logging-elasticsearch5 Red Hat OpenShift Container Platform 4 openshift4/ose-logging-elasticsearch6 Red Hat OpenStack Platform 10 (Newton) python-elasticsearch Red Hat Process Automation 7 elasticsearch
    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.04% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

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

Affected packages

ecosystem package affected fixed in
maven org.elasticsearch:elasticsearch
>=7.11.0, <7.14.0
7.14.0
bitnami elasticsearch
>=7.11.0, <7.14.0
7.14.0

Affected products

  • Elastic Elasticsearch

Classification

Weakness
  • CWE-732 Incorrect Permission Assignment for Critical Resource
  • CWE-862 Missing Authorization

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.