CVE-2024-52980
MEDIUM6.5EPSS 0.10%Elasticsearch Potential Node Crash due to Large Recursion in `innerForbidCircularReferences` Function
Published: 4/8/2025Modified: 4/16/2026
Description
A flaw was discovered in Elasticsearch, where a large recursion using the innerForbidCircularReferences function of the PatternBank class could cause the Elasticsearch node to crash. A successful attack requires a malicious user to have read_pipeline Elasticsearch cluster privilege assigned to them.
Affected packages (2)
- Bitnami/elasticsearch>= 7.17.0, < 8.15.1
- Maven/org.elasticsearch:elasticsearch>= 7.17.0, < 8.15.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-52980
- PATCHhttps://github.com/elastic/elasticsearch
- WEBhttps://discuss.elastic.co/t/elasticsearch-8-15-1-security-update-esa-2024-34/376919
- WEBhttps://github.com/elastic/elasticsearch/commit/4e5c6801f4d60f100f122072f6bf35b21fd722a5
- WEBhttps://github.com/elastic/elasticsearch/commit/a02dc7165c75f12701f8d47a2bdefe5283735267