bson before 0.8 incorrectly uses int rather than sizet for many variables, parameters, and return values. In particular, the bsonensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "0.2.52.5ubuntu0.5", "binary_name": "libwhoopsie-dev" }, { "binary_version": "0.2.52.5ubuntu0.5", "binary_name": "libwhoopsie0" }, { "binary_version": "0.2.52.5ubuntu0.5", "binary_name": "libwhoopsie0-dbgsym" }, { "binary_version": "0.2.52.5ubuntu0.5", "binary_name": "whoopsie" }, { "binary_version": "0.2.52.5ubuntu0.5", "binary_name": "whoopsie-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "0.2.62ubuntu0.5", "binary_name": "libwhoopsie-dev" }, { "binary_version": "0.2.62ubuntu0.5", "binary_name": "libwhoopsie0" }, { "binary_version": "0.2.62ubuntu0.5", "binary_name": "libwhoopsie0-dbgsym" }, { "binary_version": "0.2.62ubuntu0.5", "binary_name": "whoopsie" }, { "binary_version": "0.2.62ubuntu0.5", "binary_name": "whoopsie-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "0.2.69ubuntu0.1", "binary_name": "libwhoopsie-dev" }, { "binary_version": "0.2.69ubuntu0.1", "binary_name": "libwhoopsie0" }, { "binary_version": "0.2.69ubuntu0.1", "binary_name": "libwhoopsie0-dbgsym" }, { "binary_version": "0.2.69ubuntu0.1", "binary_name": "whoopsie" }, { "binary_version": "0.2.69ubuntu0.1", "binary_name": "whoopsie-dbgsym" } ] }