Bug 1943184 (CVE-2021-22135) - CVE-2021-22135 elasticsearch: Document disclosure flaw in the Elasticsearch suggester
Summary: CVE-2021-22135 elasticsearch: Document disclosure flaw in the Elasticsearch s...
Alias: CVE-2021-22135
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1943186 1943185 1943187
Blocks: 1943195
TreeView+ depends on / blocked
Reported: 2021-03-25 14:43 UTC by Pedro Sampaio
Modified: 2022-07-19 13:40 UTC (History)
45 users (show)

Fixed In Version: elasticsearch 7.11.2, elasticsearch 6.8.15
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-10-28 08:48:10 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5606 0 None None None 2022-07-19 13:40:18 UTC

Description Pedro Sampaio 2021-03-25 14:43:41 UTC
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.



Comment 1 Pedro Sampaio 2021-03-25 14:44:32 UTC
Created python-elasticsearch tracking bugs for this issue:

Affects: epel-all [bug 1943186]
Affects: fedora-all [bug 1943187]
Affects: openstack-rdo [bug 1943185]

Comment 2 juneau 2021-03-31 13:21:13 UTC
Marking Hosted Services / services-assisted-installer notaffected per BU:

"assisted-test-infra is our testing infrastructure. It has nothing to do with prod code."

Comment 4 Przemyslaw Roguski 2021-04-02 12:13:11 UTC

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

Comment 5 Przemyslaw Roguski 2021-04-02 12:13:16 UTC
External References:


Comment 12 errata-xmlrpc 2022-07-19 13:40:15 UTC
This issue has been addressed in the following products:

  RHINT Camel-Q 2.7

Via RHSA-2022:5606 https://access.redhat.com/errata/RHSA-2022:5606

Note You need to log in before you can comment on or make changes to this bug.