Advisory

GHSA-37jj-wp7g-7wj4

Also known as: CVE-2021-26305, RUSTSEC-2021-0012

Summary

Read of uninitialized memory in cdr

Details

An issue was discovered in Deserializer::read_vec in the cdr crate before 0.2.4 for Rust. A user-provided Read implementation can gain access to the old contents of newly allocated heap memory, violating soundness.

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

cdr

crates.io · All systems

Affected

  • introduced 0, fixed 0.2.4 (semver)

Fixed versions

0.2.4

Fix

  • Fixed version 0.2.4
    cargo update -p cdr --precise 0.2.4

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