Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-22134

A document disclosure flaw was found in Elasticsearch versions after 7.6.0 and before 7.11.0 when Document or Field Level Security is used. Get requests do not properly apply security permissions when executing a query against a recently updated document. This affects documents that have been updated and not yet refreshed in the index. This could result in the search disclosing the existence of documents and fields the attacker should not be able to view.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-22134
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:06 UTC · Revision 1

Source evidence

CVE-2021-22134

core-osv · Original source

Published 8 Mar 2021, 21:15 UTC

A document disclosure flaw was found in Elasticsearch versions after 7.6.0 and before 7.11.0 when Document or Field Level Security is used. Get requests do not properly apply security permissions when executing a query against a recently updated document. This affects documents that have been updated and not yet refreshed in the index. This could result in the search disclosing the existence of documents and fields the attacker should not be able to view.

osv:CVE-2021-22134
Complete source record
{
  "id": "a1332546cf2658480e64e6a87fa4ddb05bb8dba0b45b1bc38040af441d69e461",
  "url": "https://osv.dev/vulnerability/CVE-2021-22134",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22134",
    "summary": "A document disclosure flaw was found in Elasticsearch versions after 7.6.0 and before 7.11.0 when Document or Field Level Security is used. Get requests do not properly apply security permissions when executing a query against a recently updated document. This affects documents that have been updated and not yet refreshed in the index. This could result in the search disclosing the existence of documents and fields the attacker should not be able to view.",
    "evidence": "osv:CVE-2021-22134",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-22134",
      "aliases": [
        "BIT-elasticsearch-2021-22134",
        "CVE-2021-22134",
        "GHSA-hwvv-438r-mhvj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/elastic/elasticsearch",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7f634e9f44834fbc12724506cc1da681b0c3b1e3"
                },
                {
                  "last_affected": "8ced7813d6f16d2ef30792e2fcde3e755795ee04"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.6.0"
                      },
                      {
                        "last_affected": "7.11.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22134.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:35.495013114Z",
      "provider": "osv",
      "references": [
        "https://discuss.elastic.co/t/elastic-stack-7-11-0-security-update/265835",
        "https://security.netapp.com/advisory/ntap-20210430-0006/",
        "https://www.oracle.com/security-alerts/cpuapr2022.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_automated_test_suite",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.8.0"
                  },
                  {
                    "last_affected": "1.8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-22134",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 433749,
  "published_at": "2021-03-08T21:15:16.947+00:00"
}