Vulnerability Name:

CVE-2020-12135 (CCN-180718)

Assigned:2020-04-13
Published:2020-04-13
Updated:2020-08-12
Summary: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 v3 Severity:5.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)
4.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
7.8 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-190
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2020-12135

Source: CCN
Type: Launchpad Bug #1872560
integer overflow in whoopsie 0.2.69

Source: MISC
Type: Exploit, Third Party Advisory
https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560

Source: XF
Type: UNKNOWN
bson-cve202012135-dos(180718)

Source: CCN
Type: mongo-c-driver-legacy GIT Repository
bson

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577

Source: MISC
Type: Patch, Third Party Advisory
https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch

Source: UBUNTU
Type: UNKNOWN
USN-4450-1

Vulnerable Configuration:Configuration 1:
  • cpe:/a:whoopsie_project:whoopsie:*:*:*:*:*:*:*:* (Version <= 0.2.69)

  • Configuration 2:
  • cpe:/a:mongodb:c_driver:*:*:*:*:*:*:*:* (Version < 0.8)

  • * Denotes that component is vulnerable
    BACK
    whoopsie_project whoopsie *
    mongodb c driver *