Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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