Silent Decimal128 value corruption via incorrect exactness check in MongoDB C Driver
MongoDB C Driver
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| MongoDB C Driver |
| No fix yet |
Original description
An incorrect calculation in Decimal128 string parsing in the MongoDB C Driver can accept certain over-precision inputs containing leading zeros instead of rejecting them. This produces a value different from the supplied text. An actor who can provide a decimal string to an embedding application, including through Extended JSON parsing, can cause the application to store or use an incorrect numeric value.
From the CVE record · mongodb