Description
An integer overflow vulnerability in Elasticsearch SQL INSERT string processing can bypass the result-size limit and lead to denial of service. An authenticated user able to execute SQL queries can supply specially crafted string-length arguments that overflow the size calculation before allocation. This can cause excessive memory allocation and terminate the Elasticsearch process.
Vendor solution
Upgrade Elasticsearch / SQL versions 8.13.3 through 8.19.21 to 8.19.22.
Upgrade Elasticsearch / SQL versions 9.0.0 through 9.4.6 to 9.4.7.
Upgrade Elasticsearch / SQL versions 9.5.0 through 9.5.2 to 9.5.3.
Original text from the vendor's CVE record.
Affected products and versions
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-190 Integer Overflow or Wraparound
References
- discuss.elastic.co/t/392159 vendor advisory
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.