CVE-2020-12135

Severity CVSS v4.0:
Pending analysis
Type:
CWE-190 Integer Overflow or Wraparound
Publication date:
24/04/2020
Last modified:
12/08/2020

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:whoopsie_project:whoopsie:*:*:*:*:*:*:*:* 0.2.69 (including)
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:* 0.8 (excluding)