Security mailing lists by PureSourceCode

CVE-2021-22137

MEDIUM 5.3CVSS 3.1

Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch

In Elasticsearch versions before 7.11.2 and 6.8.15 a document disclosure flaw was found when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain cross-cluster search queries. This could result in the search disclosing the existence of documents the attacker should not be able to view. This could result in an attacker gaining additional insight into potentially sensitive indices.

Published
13 May 2021
Last modified
17 Jun 2026
Assigned by
security@elastic.co
NVD status
Modified
Weakness
CWE-200CWE-281
Also known as
BIT-elasticsearch-2021-22137GHSA-hr65-qq6p-87r4
Sources
NVDJSONOSV GHSA-hr65-qq6p-87r4JSON

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.11.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 24 May 2022)
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.