Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.elasticsearch/elasticsearch
  4. ›
  5. CVE-2021-22137

CVE-2021-22137: Improper Preservation of Permissions

May 24, 2022 (updated August 13, 2023)

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.

References

  • discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125
  • github.com/advisories/GHSA-hr65-qq6p-87r4
  • nvd.nist.gov/vuln/detail/CVE-2021-22137
  • security.netapp.com/advisory/ntap-20210625-0003/

Code Behaviors & Features

Detect and mitigate CVE-2021-22137 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 6.8.14, all versions starting from 7.11.0 up to 7.11.1

Fixed versions

  • 6.8.15
  • 7.11.2

Solution

Upgrade to versions 6.8.15, 7.11.2 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-281: Improper Preservation of Permissions

Source file

maven/org.elasticsearch/elasticsearch/CVE-2021-22137.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:40 +0000.