VDB
CVE-2020-12135
CVE-2020-12135
PUBLISHED
CVSS 5.5 MEDIUM
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.
EPSS 1.16% · 65.2th percentile
Risk Scores
CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS Score
1.16%
65.2th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:16.04:LTS | whoopsie | 0.2.50, 0, 0.2.49 |
| Ubuntu:22.04:LTS | duo-unix | 1.11.3-1build1, 1.11.3-1, 0 |
| Ubuntu:16.04:LTS | duo-unix | 1.9.11-1, 0 |
| Ubuntu:20.04:LTS | whoopsie | 0.2.66, 0.2.67, 0.2.69 |
| Ubuntu:20.04:LTS | duo-unix | 1.11.3-1, 0, 1.9.21-1.1 |
| Ubuntu:18.04:LTS | duo-unix | 0, 1.9.21-1, 1.9.21-1build1 |
| Ubuntu:24.04:LTS | duo-unix | 1.11.3-1.1build2, 1.11.3-1.1build1, 1.11.3-1.1 |
| Ubuntu:25.10 | duo-unix | 0, 1.11.3-1.2 |
| Ubuntu:18.04:LTS | whoopsie | 0.2.59, 0.2.62, 0 |
Timeline
- Apr 24, 2020 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 25, 2021 EPSS Score
- Dec 28, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Mar 1, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 3, 2022 EPSS Score
- Sep 6, 2022 EPSS Score
- Nov 8, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2020-12135 third-party-advisory
- https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577 third-party-advisory
- https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch third-party-advisory
- https://ubuntu.com/security/notices/USN-4450-1 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2020-12135 third-party-advisory