Information disclosure in Elasticsearch
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 1 fixed, 5 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Elastic | Elasticsearch | before 7.11.2 and 6.8.15 | — | No fix listed | CNA |
| — | org.elasticsearch:elasticsearch (Maven) | 7.0.0 to before 7.11.2 | 7.11.2 | Patch available | GHSA-62ww-4p3p-7fhj |
| — | org.elasticsearch:elasticsearch (Maven) | before 6.8.15 | 6.8.15 | Patch available | GHSA-62ww-4p3p-7fhj |
- Elasticsearch VendorElastic Affected before 7.11.2 and 6.8.15 Fixed in — No fix listed CNA
- org.elasticsearch:elasticsearch (Maven) Vendor— Affected 7.0.0 to before 7.11.2 Fixed in 7.11.2 Patch available GHSA-62ww-4p3p-7fhj
- org.elasticsearch:elasticsearch (Maven) Vendor— Affected before 6.8.15 Fixed in 6.8.15 Patch available GHSA-62ww-4p3p-7fhj
Remediation
- Fix · GHSA-62ww-4p3p-7fhj org.elasticsearch:elasticsearch (Maven) Fixed in 7.11.2 Advisory →
- Fix · GHSA-62ww-4p3p-7fhj org.elasticsearch:elasticsearch (Maven) Fixed in 6.8.15 Advisory →
Red Hat 1 advisory
- RHSA-2022:5606 Released 2022-07-19 · Red Hat rating ModerateRed Hat Integration Camel Extensions for Quarkus 2.7 security update
- RHINT Camel-Q 2.7
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Decision Manager 7 | Affected | No fix yet: Fix deferred |
| Red Hat Fuse 7 | Affected | No fix yet: Fix deferred |
| Red Hat Integration Camel K 1 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Out of support scope |
| Red Hat Process Automation 7 | Affected | No fix yet |
| RHINT Camel-Q 2.7 | Fixed | RHSA-2022:5606 |
Not affected: 4 products
- Logging Subsystem for Red Hat OpenShift
- Red Hat Integration Camel Quarkus 1
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2021-22135
- 2026-10-03 Alias added: GHSA-62ww-4p3p-7fhj
References
More Elasticsearch vulnerabilities
- TI-2015-01295 The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows… KEVCVSS 3.1CRITICAL 9.8
- TI-2014-02491 The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which… KEVCVSS 3.1HIGH 8.1
- TI-2023-15037 Elasticsearch StackOverflow vulnerability CVSS 3.1HIGH 7.5
- TI-2021-05135 Information disclosure in Elasticsearch CVSS 3.1MEDIUM 6.5
- TI-2021-05136 All versions of Elastic Cloud Enterprise has the Elasticsearch “anonymous” user enabled… CVSS 3.1HIGH 7.5
- TI-2015-04530 Elasticsearch before 1.6.1 allows remote attackers to execute arbitrary code via… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2021-22135 · CVE Program
- CVE-2021-22135 · NVD
- FIRST EPSS
- GHSA-62ww-4p3p-7fhj · GitHub Advisory Database · CC BY 4.0
- CVE-2021-22135 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences