CVE-2020-12135
Published: 24 April 2020
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.
Priority
Status
Package | Release | Status |
---|---|---|
duo-unix Launchpad, Ubuntu, Debian |
bionic |
Needs triage
|
eoan |
Ignored
(reached end-of-life)
|
|
focal |
Needs triage
|
|
groovy |
Ignored
(reached end-of-life)
|
|
hirsute |
Ignored
(reached end-of-life)
|
|
impish |
Ignored
(reached end-of-life)
|
|
jammy |
Needs triage
|
|
kinetic |
Needs triage
|
|
lunar |
Needs triage
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Needs triage
|
|
whoopsie Launchpad, Ubuntu, Debian |
bionic |
Released
(0.2.62ubuntu0.5)
|
eoan |
Ignored
(reached end-of-life)
|
|
focal |
Released
(0.2.69ubuntu0.1)
|
|
groovy |
Released
(0.2.71)
|
|
hirsute |
Released
(0.2.71)
|
|
impish |
Released
(0.2.71)
|
|
jammy |
Released
(0.2.71)
|
|
kinetic |
Released
(0.2.71)
|
|
lunar |
Released
(0.2.71)
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Released
(0.2.52.5ubuntu0.5)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.5 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12135
- https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577
- https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch
- https://ubuntu.com/security/notices/USN-4450-1
- NVD
- Launchpad
- Debian