Integer overflow in Mongodb C_driver
CVE-2020-12135
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.
Vulnerability class: Integer Overflow
EPSS: 0.012 (63.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
Affected products
- Mongodb C_driver
- Whoopsie_project Whoopsie
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (x_refsource_UBUNTU, vendor-advisory)
Frequently asked questions
- What is CVE-2020-12135?
- CVE-2020-12135 is a medium-severity vulnerability in Mongodb C_driver, classified under Integer Overflow or Wraparound. CVSS score: 5.5/10. Published 2020-04-24.
- How severe is CVE-2020-12135?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2020-12135 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.