Skip to content
Heist/ feed
Back to feed
Medium

Elasticsearch Remote Cluster Search Cross Cluster API Key insufficient restrictions

Type: advisorySources: OSV

It was identified that if a cross-cluster API key https://www.elastic.co/guide/en/elasticsearch/reference/8.14/security-api-create-cross-cluster-api-key.html#security-api-create-cross-cluster-api-key-request-body restricts search for a given index using the query or the field_security parameter, and the same cross-cluster API key also grants replication for the same index, the search restrictions are not enforced during cross cluster search operations and search results may include documents and terms that should not be returned. This issue only affects the API key based security model for remote clusters https://www.elastic.co/guide/en/elasticsearch/reference/8.14/remote-clusters.html#remote-clusters-security-models that was previously a beta feature and is released as GA with 8.14.0

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-23445
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:57 UTC · Revision 1

Source evidence

Elasticsearch Remote Cluster Search Cross Cluster API Key insufficient restrictions

core-osv · Original source

Published 12 Jun 2024, 13:58 UTC

It was identified that if a cross-cluster API key https://www.elastic.co/guide/en/elasticsearch/reference/8.14/security-api-create-cross-cluster-api-key.html#security-api-create-cross-cluster-api-key-request-body restricts search for a given index using the query or the field_security parameter, and the same cross-cluster API key also grants replication for the same index, the search restrictions are not enforced during cross cluster search operations and search results may include documents and terms that should not be returned. This issue only affects the API key based security model for remote clusters https://www.elastic.co/guide/en/elasticsearch/reference/8.14/remote-clusters.html#remote-clusters-security-models that was previously a beta feature and is released as GA with 8.14.0

osv:CVE-2024-23445
Complete source record
{
  "id": "e3634053262d1f19c8ff8722f316be5bd03b6ad6dfb52be5b036ecbb96ae4321",
  "url": "https://osv.dev/vulnerability/CVE-2024-23445",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Elasticsearch Remote Cluster Search Cross Cluster API Key insufficient restrictions",
    "summary": "It was identified that if a cross-cluster API key https://www.elastic.co/guide/en/elasticsearch/reference/8.14/security-api-create-cross-cluster-api-key.html#security-api-create-cross-cluster-api-key-request-body restricts search for a given index using the query or the field_security parameter, and the same cross-cluster API key also grants replication for the same index, the search restrictions are not enforced during cross cluster search operations and search results may include documents and terms that should not be returned. This issue only affects the API key based security model for remote clusters https://www.elastic.co/guide/en/elasticsearch/reference/8.14/remote-clusters.html#remote-clusters-security-models that was previously a beta feature and is released as GA with 8.14.0",
    "evidence": "osv:CVE-2024-23445",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-23445",
      "aliases": [
        "BIT-elasticsearch-2024-23445",
        "CVE-2024-23445"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/elastic/elasticsearch",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e338da74c79465dfdc204971e600342b0aa87b6b"
                },
                {
                  "fixed": "8d96bbe3bf5fed931f3119733895458eab75dca9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.10.0"
                      },
                      {
                        "fixed": "8.14.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23445.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.094832399Z",
      "provider": "osv",
      "references": [
        "https://discuss.elastic.co/t/elasticsearch-8-14-0-security-update-esa-2024-13/360898",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23445.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-23445"
      ],
      "provider_metadata": {
        "cna_assigner": "elastic",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.10.0"
                  },
                  {
                    "fixed": "8.14.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23445.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-23445",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510055,
  "published_at": "2024-06-12T13:58:45.296+00:00"
}