Files
advisory-db/crates/uu_od/RUSTSEC-2021-0043.md
2021-04-13 14:10:09 -07:00

715 B

[advisory]
id = "RUSTSEC-2021-0043"
package = "uu_od"
aliases = ["CVE-2021-29934"]
date = "2021-02-17"
url = "https://github.com/uutils/coreutils/issues/1729"
categories = ["memory-exposure"]

[versions]
patched = [">= 0.0.4"]

PartialReader passes uninitialized memory to user-provided Read

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.