Advisory

GHSA-ppqp-78xx-3r38

Also known as: CVE-2021-26951, RUSTSEC-2021-0015

Summary

Out of bounds write in calamine

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-08-25 20:53 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

calamine

crates.io · All systems

Affected

  • introduced 0, fixed 0.17.0 (semver)

Fixed versions

0.17.0

Fix

  • Fixed version 0.17.0
    cargo update -p calamine --precise 0.17.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences