CVE-2024-52981Elasticsearch
High 7.5 No auth needed
Follow: this CVE · Elastic · Elasticsearch We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 57
- Auth required
- No
- Published
- Apr 8, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.
What to do
- Apply the vendor's security update for Elasticsearch.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.elasticsearch:elasticsearch |
≥ 7.17.0 < 7.17.24 |
7.17.24 |
— |
| Maven | org.elasticsearch:elasticsearch |
≥ 8.0.0-alpha1 < 8.15.1 |
8.15.1 |
— |
Per OSV / GitHub Advisories (GHSA-5xm9-x7x4-4j5x). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| elastic | elasticsearch | ≥ 7.17.0 < 7.17.24 |
| elastic | elasticsearch | ≥ 8.0.0 < 8.15.1 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.elastic.co Patch Vendor Advisory