Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2020-12135 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560 | CVE | ExploitThird Party Advisory |
| https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577 | CVE | PatchThird Party Advisory |
| https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch | CVE | PatchThird Party Advisory |
| https://usn.ubuntu.com/4450-1/ | CVE | |
| https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560 | [email protected] | ExploitThird Party Advisory |
| https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577 | [email protected] | PatchThird Party Advisory |
| https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch | [email protected] | PatchThird Party Advisory |
| https://usn.ubuntu.com/4450-1/ | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| whoopsie project whoopsie | <= 0.2.69 |
CPE
Remediation
| |
| mongodb c driver | < 0.8 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 12, 2020 | CVE Modified | [email protected] |
| Apr 29, 2020 | Initial Analysis | [email protected] |