Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.elasticsearch/elasticsearch
  4. ›
  5. CVE-2024-52981

CVE-2024-52981: Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion

April 8, 2025 (updated April 9, 2025)

An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.

References

  • discuss.elastic.co/t/elasticsearch-7-17-24-and-8-15-1-security-update-esa-2024-37/376924
  • github.com/advisories/GHSA-5xm9-x7x4-4j5x
  • github.com/elastic/elasticsearch
  • nvd.nist.gov/vuln/detail/CVE-2024-52981

Code Behaviors & Features

Detect and mitigate CVE-2024-52981 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.17.0 before 7.17.24, all versions starting from 8.0.0-alpha1 before 8.15.1

Fixed versions

  • 7.17.24
  • 8.15.1

Solution

Upgrade to versions 7.17.24, 8.15.1 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

maven/org.elasticsearch/elasticsearch/CVE-2024-52981.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:46 +0000.