cve.bz

CVE-2021-22135 elastic elasticsearch

5.3 mediumEPSS 1.3%Fix available

Medium (5.3) in elastic elasticsearch. EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.elasticsearch:elasticsearch 6.8.15, 7.11.2.

On this page
Elasticsearch versions before 7.11.2 and 6.8.15 contain a document disclosure flaw was found in the Elasticsearch suggester and profile API when Document and Field Level Security are enabled. The suggester and profile API are normally disabled for an index when document level security is enabled on the index. Certain queries are able to enable the profiler and suggester which could lead to disclosing the existence of documents and fields the attacker should not be able to view.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-22135 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-22135?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-22135?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-22135 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
elastic:elasticsearchbefore 6.8.15
elastic:elasticsearchfrom 7.11.0 before 7.11.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-62ww-4p3p-7fhjMavenorg.elasticsearch:elasticsearch>=7.0.0 <7.11.27.11.2
GHSA-62ww-4p3p-7fhjMavenorg.elasticsearch:elasticsearch<6.8.156.8.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSelasticsearchno fix listedUBUNTU-CVE-2021-22135

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's statement

In Elasticsearch, Document and Field Level Security is an enterprise only feature [1]. Hence the open source version is unaffected by this vulnerability.

[1] https://www.elastic.co/subscriptions

ProductPackageStateAdvisory
RHINT Camel-Q 2.7Fixed 2022-07-19RHSA-2022:5606
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Red Hat Decision Manager 7elasticsearchFix deferred
Red Hat Fuse 7elasticsearchFix deferred
Red Hat Integration Camel K 1elasticsearchFix deferred
Red Hat Integration Camel Quarkus 1elasticsearchNot affected
Red Hat JBoss Fuse 6elasticsearchOut of support scope
Red Hat OpenShift Container Platform 3.11openshift3/ose-logging-elasticsearch5Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-logging-elasticsearch5Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-logging-elasticsearch6Not affected
Red Hat Process Automation 7elasticsearchAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-22135.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON