ubuntu-cve-2020-12135
Vulnerability from osv_ubuntu
Published
2020-04-24 01:15
Modified
2026-05-20 14:52
Summary
Details
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.
Severity
5.5 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libwhoopsie0",
"binary_version": "0.2.52.5ubuntu0.5"
},
{
"binary_name": "whoopsie",
"binary_version": "0.2.52.5ubuntu0.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "whoopsie",
"purl": "pkg:deb/ubuntu/whoopsie@0.2.52.5ubuntu0.5?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.2.52.5ubuntu0.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.49",
"0.2.50",
"0.2.51",
"0.2.52",
"0.2.52.1",
"0.2.52.2",
"0.2.52.3",
"0.2.52.4",
"0.2.52.5",
"0.2.52.5ubuntu0.1",
"0.2.52.5ubuntu0.2",
"0.2.52.5ubuntu0.3",
"0.2.52.5ubuntu0.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libduo3",
"binary_version": "1.9.11-1"
},
{
"binary_name": "libpam-duo",
"binary_version": "1.9.11-1"
},
{
"binary_name": "login-duo",
"binary_version": "1.9.11-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "duo-unix",
"purl": "pkg:deb/ubuntu/duo-unix@1.9.11-1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.11-1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libwhoopsie0",
"binary_version": "0.2.62ubuntu0.5"
},
{
"binary_name": "whoopsie",
"binary_version": "0.2.62ubuntu0.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "whoopsie",
"purl": "pkg:deb/ubuntu/whoopsie@0.2.62ubuntu0.5?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.2.62ubuntu0.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.58",
"0.2.59",
"0.2.59build1",
"0.2.60",
"0.2.62",
"0.2.62ubuntu0.1",
"0.2.62ubuntu0.2",
"0.2.62ubuntu0.3",
"0.2.62ubuntu0.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libduo3",
"binary_version": "1.9.21-1build1"
},
{
"binary_name": "libpam-duo",
"binary_version": "1.9.21-1build1"
},
{
"binary_name": "login-duo",
"binary_version": "1.9.21-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "duo-unix",
"purl": "pkg:deb/ubuntu/duo-unix@1.9.21-1build1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.21-1",
"1.9.21-1build1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libwhoopsie0",
"binary_version": "0.2.69ubuntu0.1"
},
{
"binary_name": "whoopsie",
"binary_version": "0.2.69ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "whoopsie",
"purl": "pkg:deb/ubuntu/whoopsie@0.2.69ubuntu0.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.2.69ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.66",
"0.2.67",
"0.2.68",
"0.2.69"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libduo3",
"binary_version": "1.11.3-1"
},
{
"binary_name": "libpam-duo",
"binary_version": "1.11.3-1"
},
{
"binary_name": "login-duo",
"binary_version": "1.11.3-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "duo-unix",
"purl": "pkg:deb/ubuntu/duo-unix@1.11.3-1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.21-1.1",
"1.11.3-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libduo3",
"binary_version": "1.11.3-1build1"
},
{
"binary_name": "libpam-duo",
"binary_version": "1.11.3-1build1"
},
{
"binary_name": "login-duo",
"binary_version": "1.11.3-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "duo-unix",
"purl": "pkg:deb/ubuntu/duo-unix@1.11.3-1build1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.11.3-1",
"1.11.3-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libduo3t64",
"binary_version": "1.11.3-1.1build2"
},
{
"binary_name": "libpam-duo",
"binary_version": "1.11.3-1.1build2"
},
{
"binary_name": "login-duo",
"binary_version": "1.11.3-1.1build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "duo-unix",
"purl": "pkg:deb/ubuntu/duo-unix@1.11.3-1.1build2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.11.3-1build1",
"1.11.3-1.1",
"1.11.3-1.1build1",
"1.11.3-1.1build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libduo3t64",
"binary_version": "1.11.3-1.2"
},
{
"binary_name": "libpam-duo",
"binary_version": "1.11.3-1.2"
},
{
"binary_name": "login-duo",
"binary_version": "1.11.3-1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "duo-unix",
"purl": "pkg:deb/ubuntu/duo-unix@1.11.3-1.2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.11.3-1.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libduo3t64",
"binary_version": "1.11.3-1.2build1"
},
{
"binary_name": "libpam-duo",
"binary_version": "1.11.3-1.2build1"
},
{
"binary_name": "login-duo",
"binary_version": "1.11.3-1.2build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "duo-unix",
"purl": "pkg:deb/ubuntu/duo-unix@1.11.3-1.2build1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.11.3-1.2",
"1.11.3-1.2build1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2020-12135",
"modified": "2026-05-20T14:52:06Z",
"published": "2020-04-24T01:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-12135"
},
{
"type": "REPORT",
"url": "https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577"
},
{
"type": "REPORT",
"url": "https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4450-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2020-12135"
}
],
"related": [
"USN-4450-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2020-12135"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…