VDB
CVE-2020-12135
CVE-2020-12135
PUBLISHED
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 0.35% · 57.7th percentile
Risk Scores
EPSS Score
0.35%
57.7th 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 |
Exploit Intelligence
- https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560 (nist-nvd)
- https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch (circl)
- https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577 (circl)
- USN-4450-1 (circl)
Timeline
- Apr 24, 2020 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 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