GitHub Advisory Database
GHSA-wh8p-h9hw-x2mc
uutils coreutils has an Unchecked Return Value Issue
Details
The dd utility in uutils coreutils suppresses errors during file truncation operations by unconditionally calling Result::ok() on truncation attempts. While intended to mimic GNU behavior for special files like /dev/null, the uutils implementation also hides failures on regular files and directories caused by full disks or read-only file systems. This can lead to silent data corruption in backup or migration scripts, as the utility may report a successful operation even when the destination file contains old or garbage data.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | coreutils | All versions up to and including 0.8.0 |