HIGH 7.5

CVE-2023-31418

Elasticsearch vulnerable to Uncontrolled Resource Consumption

Description

An issue has been identified with how Elasticsearch handled incoming requests on the HTTP layer. An unauthenticated user could force an Elasticsearch node to exit with an OutOfMemory error by sending a moderate number of malformed HTTP requests. The issue was identified by Elastic Engineering and we have no indication that the issue is known or that it is being exploited in the wild.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.elasticsearch » elasticsearch
< 7.17.13>= 8.0.0, < 8.9.0
7.17.13, 8.9.0

Blast radius

1affected artifacts
410affected versions
4,469dependent artifacts (est.)
177,520dependent versions

62% of the dependent artifacts (2,803) still pull an affected version in their latest release.

DepthDependent versions
Direct
30,720
2 hops
63,035
3 hops
39,166
4 hops
31,219
5 hops
9,820
6 hops
3,560

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.

References

Advisorynvd.nist.gov
Webdiscuss.elastic.co
Websecurity.netapp.com
Webelastic.co