Skip to content

CVE-2021-26305 Read of uninitialized memory in cdr

CriticalCVSS 9.8 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
cdr project cdr < 0.2.4 0.2.4 Fixed
crates.io cdr(crates.io) < 0.2.4; >= 0.0.0-0, < 0.2.4 0.2.4 Fixed

Affected products

ProductAffected versionsFixed in
crates.io cdr(crates.io) < 0.2.4 0.2.4
crates.io cdr(crates.io) >= 0.0.0-0, < 0.2.4 0.2.4
cdr project cdr < 0.2.4 0.2.4

References