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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | cdr | < 0.2.4 | 0.2.4 | GHSA-37jj-wp7g-7wj4 |
| crates.io | cdr | >= 0.0.0-0, < 0.2.4 | 0.2.4 | RUSTSEC-2021-0012 |