MongoDB C# Driver LINQ経由でNoSQLインジェクションによりデータが漏えいする脆弱性
Summary
MongoDB C# Driverでは、LINQクエリのフィールド名やディクショナリのキーに含まれるドットや記号が適切に無害化されず、利用者の入力によって想定外のフィールドを対象とした検索や更新が行われるおそれがあります。影響を受けるのは2.14.0以上3.13.0未満の版で、他のユーザーの文書が閲覧されたり、意図しないデータが更新されたりするおそれがあります。修正版の3.13.0へ更新してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
MongoDB C# Driverでは、LINQクエリのフィールド名やディクショナリのキーに含まれるドットや記号が適切に無害化されず、利用者の入力によって想定外のフィールドを対象とした検索や更新が行われるおそれがあります。影響を受けるのは2.14.0以上3.13.0未満の版で、他のユーザーの文書が閲覧されたり、意図しないデータが更新されたりするおそれがあります。修正版の3.13.0へ更新してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| MongoDB | C# Driver |
≥ 2.14.0, < 3.13.0 |
3.13.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web cna@mongodb.com
- web cna@mongodb.com
- web cna@mongodb.com