MongoDB Serverに解放後使用の脆弱性、認証済みユーザーによるサーバー停止や情報漏えいのおそれ
概要
MongoDB Serverの集計処理で、解放済みのメモリを参照する脆弱性が見つかりました。readWrite権限を持つ認証済みユーザーが細工した集計パイプラインを実行すると、ヒープ領域の範囲外読み取りが起き、メモリ内容の一部が漏えいしたり、mongodが停止したりするおそれがあります。影響するのは9.0.0から9.0.6までと8.3.0から8.3.15までで、9.0.7と8.3.16で修正されています。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
MongoDB Serverの集計処理で、解放済みのメモリを参照する脆弱性が見つかりました。readWrite権限を持つ認証済みユーザーが細工した集計パイプラインを実行すると、ヒープ領域の範囲外読み取りが起き、メモリ内容の一部が漏えいしたり、mongodが停止したりするおそれがあります。影響するのは9.0.0から9.0.6までと8.3.0から8.3.15までで、9.0.7と8.3.16で修正されています。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| MongoDBMongoDB Server |
9.0.0 以上 9.0.7 未満→ 9.0.7 8.3.0 以上 8.3.16 未満→ 8.3.16 |
9.0.7 8.3.16 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
A use-after-free issue exists in MongoDB’s SBE (Slot-Based Execution) implementation of a window function accumulator used by certain $setWindowFields aggregation pipelines. Under specific conditions, the accumulator can retain a dangling pointer to memory that has since been freed. When this stale pointer is later dereferenced during serialization of the carried-forward value, it can result in a heap out-of-bounds read that may expose adjacent heap contents and crash the mongod server. An authenticated user with readWrite privileges on a database can trigger this issue by crafting a specific aggregation pipeline.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- web jira.mongodb.org
- web nvd.nist.gov
- web github.com