Critical, CVSS 9.8crates.ioPublished
Read of uninitialized memory in cdr
CVE-2021-26305 · GHSA-37jj-wp7g-7wj4
- Affected
- crates.io cdr < 0.2.4
- Fixed in
- 0.2.4· Vendor fix available
- Issue
- An issue was discovered in Deserializer::readvec 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.
Recommended action: Upgrade to 0.2.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.