Vulnerability · Published Apr 24, 2020 · Assigned by mitre
CVE-2020-12135
Medium 5.5
In plain English
A medium-severity security flaw in the duo-unix package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities).
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)1.2%top 32.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | duo-unix | no fix listed | DEBIAN-CVE-2020-12135 |
| Debian:13 | duo-unix | no fix listed | DEBIAN-CVE-2020-12135 |
| Ubuntu:22.04:LTS | duo-unix | no fix listed | UBUNTU-CVE-2020-12135 |
| Ubuntu:24.04:LTS | duo-unix | no fix listed | UBUNTU-CVE-2020-12135 |
| Ubuntu:25.10 | duo-unix | no fix listed | UBUNTU-CVE-2020-12135 |
| Ubuntu:26.04:LTS | duo-unix | no fix listed | UBUNTU-CVE-2020-12135 |
| Ubuntu:26.10 | duo-unix | no fix listed | UBUNTU-CVE-2020-12135 |
Affected products (as reported)
References
- https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560 x_refsource_MISC
- https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch x_refsource_MISC
- https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577 x_refsource_MISC
- USN-4450-1 vendor-advisory, x_refsource_UBUNTU