Security mailing lists by PureSourceCode

CVE-2021-22135

MEDIUM 5.3CVSS 3.1

API information disclosure flaw in Elasticsearch

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.

Published
13 May 2021
Last modified
17 Jun 2026
Assigned by
security@elastic.co
NVD status
Modified
Weakness
CWE-200
Also known as
BIT-elasticsearch-2021-22135GHSA-62ww-4p3p-7fhj
Sources
NVDJSONOSV GHSA-62ww-4p3p-7fhjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD elastic elasticsearch
cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
< 6.8.15 6.8.15
NVD elastic elasticsearch
cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
>= 7.11.0, < 7.11.2 7.11.2
OSV Maven org.elasticsearch:elasticsearch >= 7.0.0, < 7.11.2 7.11.2
OSV Maven org.elasticsearch:elasticsearch < 6.8.15 6.8.15

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 13 May 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Jul 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.