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.
The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Whoopsie | Whoopsie_project | * | 0.2.69 (including) |
Duo-unix | Ubuntu | bionic | * |
Duo-unix | Ubuntu | eoan | * |
Duo-unix | Ubuntu | focal | * |
Duo-unix | Ubuntu | groovy | * |
Duo-unix | Ubuntu | hirsute | * |
Duo-unix | Ubuntu | impish | * |
Duo-unix | Ubuntu | kinetic | * |
Duo-unix | Ubuntu | lunar | * |
Duo-unix | Ubuntu | mantic | * |
Duo-unix | Ubuntu | oracular | * |
Duo-unix | Ubuntu | trusty | * |
Duo-unix | Ubuntu | xenial | * |
Whoopsie | Ubuntu | bionic | * |
Whoopsie | Ubuntu | devel | * |
Whoopsie | Ubuntu | eoan | * |
Whoopsie | Ubuntu | focal | * |
Whoopsie | Ubuntu | groovy | * |
Whoopsie | Ubuntu | hirsute | * |
Whoopsie | Ubuntu | impish | * |
Whoopsie | Ubuntu | jammy | * |
Whoopsie | Ubuntu | kinetic | * |
Whoopsie | Ubuntu | lunar | * |
Whoopsie | Ubuntu | mantic | * |
Whoopsie | Ubuntu | noble | * |
Whoopsie | Ubuntu | oracular | * |
Whoopsie | Ubuntu | plucky | * |
Whoopsie | Ubuntu | trusty | * |
Whoopsie | Ubuntu | xenial | * |