CVE-2021-26305Cdr Project Cdr
Critical 9.8 No auth needed
Follow: this CVE · Cdr Project · Cdr Project Cdr We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- No
- Published
- Jan 29, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-908
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in Deserializer::read_vec in the cdr crate before 0.2.4 for Rust. A user-provided Read implementation can gain access to the old contents of newly allocated heap memory, violating soundness.
What to do
- Apply the vendor's security update for Cdr.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | cdr |
< 0.2.4 |
0.2.4 |
cargo update -p cdr --precise 0.2.4 |
| crates.io | cdr |
≥ 0.0.0-0 < 0.2.4 |
0.2.4 |
cargo update -p cdr --precise 0.2.4 |
Per OSV / GitHub Advisories (GHSA-37jj-wp7g-7wj4, RUSTSEC-2021-0012). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cdr_project | cdr | < 0.2.4 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Exploit Vendor Advisory