Vulnerability in Elasticsearch
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Elasticsearchの機械学習用ネイティブ推論プロセスに、モデル内のオフセットを検証しない不備が見つかりました。モデルを登録・配備できる利用者が細工したモデルを使うと、範囲外のメモリを読み書きされ、プロセスがクラッシュするおそれがあります。条件次第では任意のコードを実行される可能性もあり、深刻度は高とされています。修正版の情報は、最新の情報を確認してください。
Elasticsearchの推論プロセスでのメモリアドレス計算における検証不足の脆弱性。
Elasticsearchの機械学習モデル評価プロセス。
攻撃者は任意コード実行の可能性があり、プロセスがクラッシュすることがある。
Elasticsearchを最新のバージョンにアップデートし、追加のオフセット検証を実装する。
なし
最新のセキュリティアップデートが適用されているか確認する。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Bitnamielasticsearch |
≥ 8.19.0, < 8.19.20→ 8.19.20 ≥ 9.4.0, < 9.4.5→ 9.4.5 ≥ 9.5.0, < 9.5.1→ 9.5.1 |
8.19.20 9.4.5 9.5.1 |
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- web discuss.elastic.co
- web github.com