Live threats

All CVEs / Cdr Project

CVE-2021-26305Cdr Project Cdr

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cdr.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
cdr_projectcdr< 0.2.4

Official sources

References

Links published by the sources. Open them with care.