CVE-2020-12135Published Apr 24, 2020 · Apr 24Updated Oct 24
bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Unspecified product |
| No fix yet |
Original description
bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
From the CVE record · mitre