5.5
MEDIUM CVSS 3.1
CVE-2020-12135
Apache BSON Integer Overflow
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.

INFO

Published Date :

April 24, 2020, 1:15 a.m.

Last Modified :

Nov. 21, 2024, 4:59 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2020-12135 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Whoopsie_project whoopsie
1 Mongodb c_driver
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
Solution
This information is provided by the 3rd party feeds.
  • Update the affected libwhoopsie-dev, libwhoopsie0 and / or whoopsie packages.
Public PoC/Exploit Available at Github

CVE-2020-12135 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-12135 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-12135 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 5 years, 3 months ago
0 stars 0 fork 0 watcher
Born at : April 23, 2020, 4:07 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-12135 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-12135 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560
    Added Reference https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577
    Added Reference https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch
    Added Reference https://usn.ubuntu.com/4450-1/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Aug. 12, 2020

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/4450-1/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 29, 2020

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
    Changed Reference Type https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560 No Types Assigned https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560 Exploit, Third Party Advisory
    Changed Reference Type https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577 No Types Assigned https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577 Patch, Third Party Advisory
    Changed Reference Type https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch No Types Assigned https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch Patch, Third Party Advisory
    Added CWE NIST CWE-190
    Added CPE Configuration OR *cpe:2.3:a:whoopsie_project:whoopsie:*:*:*:*:*:*:*:* versions up to (including) 0.2.69
    Added CPE Configuration OR *cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:* versions up to (excluding) 0.8
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4.3
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.35 }} 0.14%

score

0.56819

percentile