Heap memory out of bounds read and crash in C Driver legacy GridFS file reader
MongoDB, Inc. C Driver
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| MongoDB, Inc. C Driver |
| No fix yet |
Original description
The MongoDB C Driver's legacy GridFS API accepts malformed file metadata from the database without adequate validation. Crafted documents in a GridFS collection may cause any application that reads those files via the legacy API to either crash (via a division-by-zero) or silently leak process memory contents (via an out-of-bounds read).
From the CVE record · mongodb