Description
An issue was discovered in the calamine crate before 0.17.0 for Rust. It allows attackers to overwrite heap-memory locations because Vec::set_len is used without proper memory claiming, and this uninitialized memory is used for a user-provided Read operation, as demonstrated by Sectors::get.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | calamine | < 0.17.0 | 0.17.0 | GHSA-ppqp-78xx-3r38 |
| crates.io | calamine | >= 0.0.0-0, < 0.17.0 | 0.17.0 | RUSTSEC-2021-0015 |