CVE-2020-12135
CVSS V2 Medium 4.3
CVSS V3 Medium 5.5
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.
Overview
- CVE ID
- CVE-2020-12135
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2020-04-24T01:15:11
- Last Modified Date
- 2020-08-12T17:15:11
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:whoopsie_project:whoopsie:*:*:*:*:*:*:*:* | 1 | OR | 0.2.69 | |
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:* | 1 | OR | 0.8 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 5.5
- Base Severity
- MEDIUM
- Exploitability Score
- 1.8
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch | Patch Third Party Advisory |
https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560 | Exploit Third Party Advisory |
https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577 | Patch Third Party Advisory |
https://usn.ubuntu.com/4450-1/ |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-12135 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12135 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 17:23:03 | Added to TrackCVE | |||
2022-12-04 15:36:51 | 2020-04-24T01:15Z | 2020-04-24T01:15:11 | CVE Published Date | updated |
2022-12-04 15:36:51 | 2020-08-12T17:15:11 | CVE Modified Date | updated | |
2022-12-04 15:36:51 | Modified | Vulnerability Status | updated |