MEDIUM4.2
GHSA-957r-r8gc-vv3h
uutils coreutils doesn't preserve file ownership during moves across different filesystem boundaries
Details
The mv utility in uutils coreutils fails to preserve file ownership during moves across different filesystem boundaries. The utility falls back to a copy-and-delete routine that creates the destination file using the caller's UID/GID rather than the source's metadata. This flaw breaks backups and migrations, causing files moved by a privileged user (e.g., root) to become root-owned unexpectedly, which can lead to information disclosure or restricted access for the intended owners.
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/coreutils
Introduced in:
0No fixed version published yet for coreutils. Pin to a known-safe version or switch to an alternative.