Rust advisories / uu_od
Vulnerability HighRUSTSEC-2021-0043 · uu_od
RUSTSEC-2021-0043: PartialReader passes uninitialized memory to user-provided Read
Short answerA security vulnerability in the uu_od crate: PartialReader passes uninitialized memory to user-provided Read. High severity (CVSS 7.3). Fixed in 0.0.4: update to a fixed version.
| Crate | uu_od |
|---|---|
| Type | Vulnerability (memory-exposure) |
| Affected versions | Before 0.0.4. |
| Fixed in | 0.0.4 |
| Severity | High, CVSS 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| Published | 2021-02-17 |
| Last changed | 2023-11-08 |
| Also known as | CVE-2021-29934, GHSA-w9vv-q986-vj7x |
What to do
- See which version you have:
cargo tree -i uu_od(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p uu_od. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampleuu_od = "0.0.4") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
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.
References
- Package: crates.io/crates/uu_od
- Advisory: rustsec.org/advisories/RUSTSEC-2021-0043.html
- Report: github.com/uutils/coreutils/issues/1729
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?