CVE-2024-52981
4.9medium
Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion
- Severity
- 4.9medium CVSS:3.1 by elastic
- Exploit likelihood
- 0.59% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- elastic
- Also known as
- GHSA-5xm9-x7x4-4j5xBIT-ELASTICSEARCH-2024-52981
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Elastic Elasticsearch | from 7.17.0 up to 7.17.23, from 8.0 up to 8.15.0, from 7.17.0 before 7.17.24, from 8.0.0 before 8.15.1 | CVE List, NVD |
| org.elasticsearch:elasticsearch (Maven) | from 7.17.0 before 7.17.24, from 8.0.0-alpha1 before 8.15.1 | GitHub Advisory Database |
| elasticsearch (Bitnami) | from 7.17.0 before 7.17.24, from 8.0.0 before 8.15.1 | Bitnami Vulnerability Database |
All scores
| elastic | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.
NVD (es)
Se descubrió un problema en Elasticsearch, donde una recursión grande que utiliza la cadena con formato Well-KnownText con objetos GeometryCollection anidados podría provocar un desbordamiento de pila.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-52981 changed 2025-04-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5xm9-x7x4-4j5x changed 2025-05-27 | CC-BY-4.0 |
| NVD | CVE-2024-52981 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-ELASTICSEARCH-2024-52981 changed 2026-09-08 | Apache-2.0 |