NoSQL injection via dot and dollar characters in LINQ filter field names and dictionary keys
Résumé
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 updat...
Résumé IA
Rédigé par une IA externe ; il peut contenir des erreurs. Vérifiez la description d'origine et les références ci-dessous avant d'agir.
MongoDB C# Driverでは、LINQクエリのフィールド名やディクショナリのキーに含まれるドットや記号が適切に無害化されず、利用者の入力によって想定外のフィールドを対象とした検索や更新が行われるおそれがあります。影響を受けるのは2.14.0以上3.13.0未満の版で、他のユーザーの文書が閲覧されたり、意図しないデータが更新されたりするおそれがあります。修正版の3.13.0へ更新してください。
Paquets affectés
| Écosystème | Paquet | Concernées | Corrigé |
|---|---|---|---|
| MongoDB | C# Driver |
≥ 2.14.0, < 3.13.0 |
3.13.0 |
Description d'origine La description telle que publiée par la source (souvent en anglais).
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
Références
- web cna@mongodb.com
- web cna@mongodb.com
- web cna@mongodb.com