Use of Out-of-range Pointer Offset in the Elasticsearch Machine Learning Native Inference Process
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.
The native inference process that Elasticsearch uses to evaluate uploaded machine learning models accepts a model operation that computes a memory address from an offset supplied inside the model, without validating that the offset stays within the bounds of the underlying storage. A user with the privileges required to upload and deploy a trained model can craft a model that reads and writes memory outside the intended allocation. The result is heap corruption that crashes the inference process, and, with sufficient control over the heap layout, could allow arbitrary code execution in the context of that process.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Elastic | Elasticsearch | =9.5.0, >=8.19.0 <=8.19.19, >=9.4.0 <=9.4.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Elasticsearch, strongest first
Embed
A live severity badge for an advisory, README or ticket