CVE-2020-12135: mongodb c_driver Integer Overflow or Wraparound
CVSS: 5.5v3.1MediumModified
AliasesUBUNTU-CVE-2020-12135DEBIAN-CVE-2020-12135
Published 24-04-2020Last modified 04-08-2024
Vulnerability summary
CVE-2020-12135 is a medium (CVSS 5.5) Integer Overflow or Wraparound vulnerability in mongodb c_driver. EPSS estimates a 1.17% chance of exploitation in the next 30 days, higher than 66.8% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
5.5/10
010
Medium · v3.1 (NVD)EPSS score
1.17%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 24-04-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versionsMedium 5.5Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Medium 4.3Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
1.17%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
0.00 pp
From 1.17% on 19-09-2026
19-09-202619-10-2026
EPSS score1.17%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (bugs.launchpad.net)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Ubuntu2 products
- duo-unixAll versions (No fix recorded)
- whoopsie< 0.2.52.5ubuntu0.5 | < 0.2.62ubuntu0.5 | < 0.2.69ubuntu0.1
Debian1 product
- duo-unixAll versions (No fix recorded)
Mongodb1 product
- c_driver< 0.8
Whoopsie_project1 product
- whoopsie≤ 0.2.69
4 vendors · 5 products
References
8 links- launchpadlibrarian.net/474887364/bson-fix-overflow.patchX Refsource MISCREPORTPatchThird Party Advisory
- github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8caX Refsource MISCREPORTPatchThird Party Advisory