MODERATE 4.9
CVE-2024-52981
Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.elasticsearch » elasticsearch | >= 7.17.0, < 7.17.24>= 8.0.0-alpha1, < 8.15.1 | 7.17.24, 8.15.1 |
Blast radius
1affected artifacts
85affected versions
368dependent artifacts (est.)
5,699dependent versions
46% of the dependent artifacts (171) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,173 |
| 2 hops | 1,655 |
| 3 hops | 1,462 |
| 4 hops | 902 |
| 5 hops | 425 |
| 6 hops | 82 |
Most used dependents
- org.elasticsearch.client » elasticsearch-rest-high-level-client684 usages
- org.elasticsearch.client » transport312 usages
- org.springframework.boot » spring-boot-starter-data-elasticsearch193 usages
- org.springframework.data » spring-data-elasticsearch126 usages
- org.elasticsearch.test » framework92 usages
- ca.uhn.hapi.fhir » hapi-fhir-jpaserver-base37 usages
- com.therealvan » appender-log4j229 usages
- org.sakaiproject.search » search-api29 usages
- org.elasticsearch.client » x-pack-transport28 usages
- com.kmwllc » lucille-core22 usages
- ca.uhn.hapi.fhir » hapi-fhir-testpage-overlay21 usages
- net.mingsoft » ms-basic21 usages
- org.geonetwork-opensource » gn-core19 usages
- io.apiman » apiman-manager-api-core19 usages
- io.apiman » apiman-test-common17 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2024-52981 | nvd.nist.gov |
| Package | elastic/elasticsearch | github.com |
| Web | elastic/elasticsearch commit 097fc06 | github.com |
| Web | elastic/elasticsearch commit 91ddb12 | github.com |
| Web | elastic/elasticsearch commit f0948d3 | github.com |
| Web | t/elasticsearch-7-17-24-and-8-15-1-security-update-esa-2024-37/376924 | discuss.elastic.co |
