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 occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
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 | esm-infra/bionic | * |
Whoopsie | Ubuntu | esm-infra/focal | * |
Whoopsie | Ubuntu | esm-infra/xenial | * |
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 | * |