NoSQL command injection via mismatched raw BSON length prefix written verbatim to the wire
概要
A data-validation flaw exists in the BSON handling and binary serialization path of the MongoDB C# Driver. When an application constructs a raw or lazy BSON document object from externally supplied binary data, the driver does not verify that the size quantity declared inside that data matches the a...
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| MongoDB | C# Driver |
2.0.0 以上 3.13.0 未満 |
3.13.0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
A data-validation flaw exists in the BSON handling and binary serialization path of the MongoDB C# Driver. When an application constructs a raw or lazy BSON document object from externally supplied binary data, the driver does not verify that the size quantity declared inside that data matches the amount of data actually provided, and it copies the data onto the wire unchanged. An unauthenticated party who can supply binary content to such an application can thereby cause additional elements to be inserted into, or existing elements to be removed from, the database command the application issues, without needing any database credentials of their own. This can result in unauthorized modification of stored data and disclosure of data outside the intended scope of the application's request, bounded by the database privileges the application itself holds.
出典: CVE.org (CVE Program・cvelistV5) NVD
参照URL
- web cna@mongodb.com
- web cna@mongodb.com
- web github.com