chore(deps): update rust crate uucore to 0.6.0 [security]#591
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update rust crate uucore to 0.6.0 [security]#591renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/crate-uucore-vulnerability
branch
from
July 21, 2026 02:04
a8aa53e to
2f2bcc0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.2→0.6.0uucore: safe_traversal TOCTOU protection only enabled on Linux
CVE-2026-35362 / GHSA-w6xc-g9qj-vp32
More information
Details
The safe_traversal module in uutils coreutils, which provides protection against Time-of-Check to Time-of-Use (TOCTOU) symlink races using file-descriptor-relative syscalls, is incorrectly limited to Linux targets. On other Unix-like systems such as macOS and FreeBSD, the utility fails to utilize these protections, leaving directory traversal operations vulnerable to symlink race conditions.
Zellic finding 3.59. Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit
3a07ffc5a9bd4c283e75afa548ba1f1957bad242.Severity
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
uutils coreutils: cp/install/mv/ln --suffix alone does not enable backup mode (silent data loss vs GNU)
GHSA-fqf6-gxhh-2xhw
More information
Details
determine_backup_modeinsrc/uucore/src/lib/features/backup_control.rsonly checks--backup/-band returnsBackupMode::Nonewhen only--suffixis given. GNU enables backup mode when--suffixis used alone (defaulting to existing/numbered, or$VERSION_CONTROL). Affectscp,install,mv,lnwhich share this code.Impact: users/scripts relying on
--suffixto back up a file before overwrite get silent data loss; breaks GNU compatibility across four utilities. Recommendation: enable backup mode when--suffixis present.Note: this is primarily a GNU-compatibility/data-safety divergence rather than a classic exploitable vulnerability — review whether it warrants a CVE.
Remediation: Acknowledged by Canonical; fixed in PR #9741 (
uucore: use --suffix to enable backup mode), commit939ab037a, merged 2025-12-21.determine_backup_modenow has a--suffix-alone branch that resolves the mode from$VERSION_CONTROL(defaulting toexisting). Released in uucore 0.6.0 and later (vulnerable:< 0.6.0). Regression tests added in the same file:test_backup_mode_suffix_without_backup_optionandtest_backup_mode_suffix_without_backup_option_with_env_var.Reported by Zellic in the uutils coreutils Program Security Assessment (prepared for Canonical, Jan 20 2026), audited commit
3a07ffc5a9bd4c283e75afa548ba1f1957bad242. Finding 3.7. Credit: Zellic.Severity
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
uutils/coreutils (uucore)
v0.6.0Compare Source
Rust Coreutils 0.6.0 Release:
We are happy to announce the release of Rust Coreutils 0.6.0 — a major milestone achieving 96% GNU compatibility with significant safety improvements, enhanced locale support, and extensive bug fixes!
Highlights:
Major GNU Compatibility Leap
sort,ls,date,cksum,tail, and many moreSafety & Code Quality
date,sort,locale.rs, and other utilitieslibccalls with safenixcrate equivalents throughout/dev/fullwrites across many utilitiesLocale & Internationalization
datesortjoinPerformance Improvements
base32/base64/basenc: Optimized with reduced memset operationsshuf: Optimized numeric output and added--random-seedoptiondate: Wrapped stdout in BufWriter for batch processinguniq: Optimized memory usage for ignore-case comparisontsort: Avoid reading entire input into memory, intern stringsdf: Performance improvements with better filesystem handlingPlatform Support Expansion
ls,id,mkdir,mkfifo,mknodNotable Utility Improvements
cksum/hashsum: Merged common logic, removed deprecatedhashsumbinarytail: Added--debugflag, fixed-Fsymlink tracking, fixed--pidwith FIFOtimeout: Added comprehensive signal handling and--verboseimprovementssort: Legacy+POS/-POShandling, locale-aware collation, debug key annotationspr: Multiple fixes for headers, form feeds, and pagination optionschmod: Fixed recursive handling and--preserve-rootoptionrm: Fixed error reporting and symlink handlingContributions: This release was made possible by 41 new contributors joining our community
GNU Test Suite Compatibility:
Call to Action:
Help us translate - Contribute translations at Weblate
Sponsor us on GitHub to accelerate development: github.com/sponsors/uutils
What's Changed
arch
base64
basename
cat
chgrp
chmod
chroot
cksum
comm
cp
csplit
date
dd
df
dir
dirname
du
echo
env
expand
expr
fmt
fold
groups
hashsum
--bitsflag by @RenjiSann in #9773head
hostid
id
install
join
kill
ln
logname
ls
mkdir
mkfifo
mknod
mktemp
more
mv
nice
nl
nohup
nproc
numfmt
pr
printenv
printf
ptx
readlink
rm
rmdir
runcon
Command::exec()instead oflibc::execvp()by @Ecordonnier in #9611seq
shred
shuf
--random-seed, make--random-sourceGNU-compatible, report write failures, optimize by @blyxxyz in #7585sort
split
stat
stdbuf
stty
sync
tac
tail
tail -n0in follow mode by @AnandajithS in #9114tee
test
timeout
touch
truncate
tsort
uname
unexpand
uniq
keys_differtokeys_are_equalby @cakebaker in #10070uptime
users
wc
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.