---
title: "CVE-2020-12135"
canonical_url: "https://pkgseek.com/security/CVE-2020-12135"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2020-12135

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.

CVE-2020-12135 is rated MEDIUM (5.5), with 7 indexed affected package builds across 2 distributions.

- **Severity / Score**: MEDIUM (5.5)
- **Affected builds**: 7
- **Affected distros**: 2
- **Distros with fixed_in**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libduo3t64 | 1.11.3-1.2+b1 | — |
| Debian | trixie | libduo-dev | 1.11.3-1.2+b1 | — |
| Debian | trixie | libpam-duo | 1.11.3-1.2+b1 | — |
| Debian | trixie | login-duo | 1.11.3-1.2+b1 | — |
| Ubuntu | focal | libwhoopsie0 | 0.2.69 | 0.2.69ubuntu0.1 |
| Ubuntu | focal | libwhoopsie-dev | 0.2.69 | 0.2.69ubuntu0.1 |
| Ubuntu | focal | whoopsie | 0.2.69 | 0.2.69ubuntu0.1 |
