Repository navigation
Bump quinn-udp, rustix and xattr to clear the RustSec audit - #19530
Merged
Merged
Conversation
quinn-udp 0.5.14 -> 0.5.16 fixes RUSTSEC-2026-0538. rustix 1.1.4 -> 1.1.6 fixes the RUSTSEC-2026-0486 unsound warning, and xattr 1.6.1 -> 1.7.0 goes with it: rustix 1.1.6 returns 0 for empty-buffer xattr size queries, which xattr 1.6.1 relies on for values over 4 KiB.
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.
Description
The
Security auditjob fails on PRs that touchCargo.tomlorCargo.lock(seen on #19360). RUSTSEC-2026-0538 flagsquinn-udp 0.5.14, and RUSTSEC-2026-0486 warns thatrustix 1.1.4is unsound. This PR changes onlyCargo.lock.quinn-udprustixxattrxattr 1.6.1breaks onrustix 1.1.6The
quinn-udpbump alone turns the check green. The other two clear the unsound warning and have to move together. Inrustix 1.1.6,getxattrandlistxattrwith an empty buffer return 0 instead of the size, which now comes from new*_queryfunctions.xattr 1.6.1uses the empty-buffer call to size values over 4 KiB, andxattr 1.7.0uses*_queryinstead. nushell reaches this throughuucore::fsxattrincp --preserve [xattr]and cross-devicemv.cp --preserve [xattr]on macOS, copying a file with a 6000-byte attribute:rustix 1.1.4,xattr 1.6.1)rustix 1.1.6,xattr 1.6.1rustix 1.1.6,xattr 1.7.0)User-facing changes (Release notes)
Additional notes