Out-of-bounds Write Affecting calamine package, versions <0.17.0
Snyk CVSS
Attack Complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Threat Intelligence
EPSS
0.48% (76th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUST-CALAMINE-2803841
- published 27 Apr 2022
- disclosed 25 Aug 2021
- credit Unknown
Introduced: 25 Aug 2021
CVE-2021-26951 Open this link in a new tabHow to fix?
Upgrade calamine
to version 0.17.0 or higher.
Overview
calamine is an Excel/OpenDocument Spreadsheets file reader/deserializer, in pure Rust.
Affected versions of this package are vulnerable to Out-of-bounds Write which allows attackers to overwrite heap-memory locations. This is 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
.