Advisory

RUSTSEC-2021-0043

Also known as: CVE-2021-29934, GHSA-w9vv-q986-vj7x

Summary

PartialReader passes uninitialized memory to user-provided Read

Details

Affected versions of this crate passed an uniniitalized buffer to a
user-provided Read instance in PartialReader::read.

This can result in safe Read implementations reading from the uninitialized
buffer leading to undefined behavior.

The flaw was fixed in commit `39d62c6`
by zero-initializing the passed buffer.

Severity

High Basis: CVSS v3 score 7.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2021-02-17 12:00 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

uu_od

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.0.4 (semver)

Fixed versions

0.0.4

Fix

  • Fixed version 0.0.4
    cargo update -p uu_od --precise 0.0.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: RustSec Advisory Database · CC0-1.0

Sources & licences