CVE-2021-26951

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:calamine_project:calamine:*:*:*:*:*:rust:*:*

History

21 Nov 2024, 05:57

Type Values Removed Values Added
References () https://rustsec.org/advisories/RUSTSEC-2021-0015.html - Exploit, Vendor Advisory () https://rustsec.org/advisories/RUSTSEC-2021-0015.html - Exploit, Vendor Advisory

25 Apr 2022, 20:16

Type Values Removed Values Added
CWE CWE-908

Information

Published : 2021-02-09 23:15

Updated : 2024-11-21 05:57


NVD link : CVE-2021-26951

Mitre link : CVE-2021-26951

CVE.ORG link : CVE-2021-26951


JSON object : View

Products Affected

calamine_project

  • calamine
CWE
CWE-787

Out-of-bounds Write

CWE-908

Use of Uninitialized Resource