VDB
Sign up
LOW3.3

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/coreutils
Introduced in: 0

No fixed version published yet for coreutils. Pin to a known-safe version or switch to an alternative.

References