CVE-2021-26951 Out of bounds write in calamine
CriticalCVSS 9.8
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| calamine project calamine | < 0.17.0 | 0.17.0 | Fixed |
| crates.io calamine(crates.io) | < 0.17.0; >= 0.0.0-0, < 0.17.0 | 0.17.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io calamine(crates.io) | < 0.17.0 | 0.17.0 |
| crates.io calamine(crates.io) | >= 0.0.0-0, < 0.17.0 | 0.17.0 |
| calamine project calamine | < 0.17.0 | 0.17.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- rustsec.org exploit vendor-advisory
- github.com
- github.com product
- crates.io product