NoSQL operator injection via unvalidated replacement document in findOneAndReplace
概要
The MongoDB C# Driver does not reject replacement documents whose top-level field names begin with a dollar sign in FindOneAndReplace, unlike other replace operations. An application that builds such a document from user-supplied field names can have the server apply update operators instead of a fu...
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| MongoDB | C# Driver |
2.13.0 以上 3.13.0 未満 |
3.13.0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
The MongoDB C# Driver does not reject replacement documents whose top-level field names begin with a dollar sign in FindOneAndReplace, unlike other replace operations. An application that builds such a document from user-supplied field names can have the server apply update operators instead of a full replacement. The effect is limited to the document matched by the application's own filter, whose contents can be modified in ways the application did not intend.
出典: CVE.org (CVE Program・cvelistV5) NVD
参照URL
- web cna@mongodb.com
- web cna@mongodb.com
- web github.com