{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2020-08-12T16:06:11.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"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"},{"name":"USN-4450-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"https://usn.ubuntu.com/4450-1/"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-12135","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560","refsource":"MISC","url":"https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560"},{"name":"https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch","refsource":"MISC","url":"https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch"},{"name":"https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577","refsource":"MISC","url":"https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577"},{"name":"USN-4450-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4450-1/"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T11:48:58.185Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577"},{"name":"USN-4450-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"https://usn.ubuntu.com/4450-1/"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2020-12135","datePublished":"2020-04-24T00:31:51.000Z","dateReserved":"2020-04-24T00:00:00.000Z","dateUpdated":"2024-08-04T11:48:58.185Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}