CVE-2023-31418Elasticsearch
High 7.5 No auth needed
Follow: this CVE · Elastic · Elasticsearch We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 82
- Auth required
- No
- Published
- Oct 26, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Elasticsearch.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.elasticsearch:elasticsearch |
< 7.17.13 |
7.17.13 |
— |
| Maven | org.elasticsearch:elasticsearch |
≥ 8.0.0 < 8.9.0 |
8.9.0 |
— |
Per OSV / GitHub Advisories (GHSA-2cqf-6xv9-f22w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| elastic | elasticsearch | ≤ 7.17.12 |
| elastic | elasticsearch | ≥ 8.0.0 ≤ 8.8.2 |
| elastic | elastic_cloud_enterprise | ≤ 2.13.3 |
| elastic | elastic_cloud_enterprise | 3.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.elastic.co Vendor Advisory
- security.netapp.com
- www.elastic.co Vendor Advisory