Description
An issue was discovered in Elasticsearch where a specific ES|QL function does not properly control memory allocation. An authenticated user could submit a specially crafted query that causes excessive memory allocation, leading to an out-of-memory error and a denial of service condition.
Vendor solution
Upgrade Elasticsearch / ES|QL versions 8.17.0 through 8.18.8 to 8.19.0.
Upgrade Elasticsearch / ES|QL versions 9.0.0 through 9.0.1 to 9.0.2.
Original text from the vendor's CVE record.
Affected products and versions
Elastic Elasticsearch8.17.0 – ≤ 8.18.8 · 9.0.0 – ≤ 9.0.1
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- None
- Availability
- High impact
Weakness type (CWE)
- CWE-789 Memory Allocation with Excessive Size Value
References
- discuss.elastic.co/t/392134 vendor advisory
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.