{"id":"CVE-2020-12135","published":"2020-04-24T00:31:51Z","modified":"2024-08-04T11:48:58Z","title":"bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01165,"percentile":0.68085,"provenance":"source"},"cwes":[],"references":[{"url":"https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560","tags":["x_refsource_MISC"]},{"url":"https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch","tags":["x_refsource_MISC"]},{"url":"https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/4450-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":13.62}]},"euvd":{"id":"EUVD-2020-4450","exploited":false,"provenance":"source"}}