---
title: "CVE-2020-12135"
canonical_url: "https://pkgseek.com/security/CVE-2020-12135"
locale: "zh-CN"
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 严重级别为 MEDIUM (5.5)，共索引 7 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: MEDIUM (5.5)
- **受影响构建数**: 7
- **涉及发行版**: 2
- **已标明修复版本发行版**: 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 |
