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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- rustsec.org exploit vendor-advisory
- github.com patch
- github.com patch
- github.com
- github.com product
- crates.io product