GitHub Advisoryadvisory · Maven
GHSA-5xm9-x7x4-4j5x Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion
MEDIUM
Official page ↗
- Aliases
- CVE-2024-52981
- Ecosystem
- Maven
- Packages
- org.elasticsearch:elasticsearch
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2025-04-09
Affected packages
• Maven org.elasticsearch:elasticsearch: >= 7.17.0, < 7.17.24 → fixed in 7.17.24
• Maven org.elasticsearch:elasticsearch: >= 8.0.0-alpha1, < 8.15.1 → fixed in 8.15.1
Description
An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.
Related
Alias · CVE (1)
- CVE-2024-52981 An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection… vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-52981 advisory
- https://github.com/elastic/elasticsearch/commit/097fc0654f9305e01402a06c82926bb04ebe5495 web
- https://github.com/elastic/elasticsearch/commit/91ddb124219a5be992644fcf78d7d061e4b7d44c web
- https://github.com/elastic/elasticsearch/commit/f0948d38fdc811eca4a4b71dcb81a9b7dbb654b3 web
- https://discuss.elastic.co/t/elasticsearch-7-17-24-and-8-15-1-security-update-esa-2024-37/376924 web
- https://github.com/elastic/elasticsearch package