MongoDB C# Driver LINQ経由でNoSQLインジェクションによりデータが漏えいする脆弱性
概要
MongoDB C# Driverでは、LINQクエリのフィールド名やディクショナリのキーに含まれるドットや記号が適切に無害化されず、利用者の入力によって想定外のフィールドを対象とした検索や更新が行われるおそれがあります。影響を受けるのは2.14.0以上3.13.0未満の版で、他のユーザーの文書が閲覧されたり、意図しないデータが更新されたりするおそれがあります。修正版の3.13.0へ更新してください。
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
MongoDB C# Driverでは、LINQクエリのフィールド名やディクショナリのキーに含まれるドットや記号が適切に無害化されず、利用者の入力によって想定外のフィールドを対象とした検索や更新が行われるおそれがあります。影響を受けるのは2.14.0以上3.13.0未満の版で、他のユーザーの文書が閲覧されたり、意図しないデータが更新されたりするおそれがあります。修正版の3.13.0へ更新してください。
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| MongoDB | C# Driver |
2.14.0 以上 3.13.0 未満 |
3.13.0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
The MongoDB C# Driver does not neutralize dot and dollar characters in dictionary keys, field names and array-filter identifiers used in LINQ queries before placing them into the field paths it sends to the server. An application user whose input reaches these positions can redirect a query or update to fields the application did not name, which can expose other users' documents and widen updates beyond the intended data. Certain values can also write malformed fields that leave stored documents unreadable by the application until they are repaired.
出典: CVE.org (CVE Program・cvelistV5) NVD
参照URL
- web cna@mongodb.com
- web cna@mongodb.com
- web github.com