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)

ArtifactAffected versionsFixed 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.

DepthDependent versions
Direct
1,173
2 hops
1,655
3 hops
1,462
4 hops
902
5 hops
425
6 hops
82

Most used dependents

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.