BSON output corruption via out-of-range binary subtype bypassing UUID and OldBinary guards
Résumé
A numeric-type conversion flaw in the BSON handling library of the MongoDB C# Driver allows an out-of-range binary subtype value supplied through untrusted textual input to bypass the library's binary-element integrity checks. When such a value is later encoded, it is narrowed to a smaller wire repr...
Paquets affectés
| Écosystème | Paquet | Concernées | Corrigé |
|---|---|---|---|
| MongoDB | C# Driver |
≥ 2.0.0, < 3.13.0 |
3.13.0 |
Description d'origine La description telle que publiée par la source (souvent en anglais).
A numeric-type conversion flaw in the BSON handling library of the MongoDB C# Driver allows an out-of-range binary subtype value supplied through untrusted textual input to bypass the library's binary-element integrity checks. When such a value is later encoded, it is narrowed to a smaller wire representation, producing binary elements that misdeclare their type or length. An unauthenticated party able to supply text parsed by an affected application can cause it to emit and persist malformed binary data, which subsequent readers either reject with an error or silently interpret as shorter than the data that was validated.
Source: CVE.org (CVE Program・cvelistV5) NVD
Références
- web cna@mongodb.com
- web cna@mongodb.com
- web cna@mongodb.com