Repository navigation
fix(deps): take rustix 1.1.6 for RUSTSEC-2026-0486 and replace the yanked chacha20 0.10.1 - #348
Merged
Merged
Conversation
…nked chacha20 0.10.1 The Security Audit job on main (run 45922858011, job 140257571440) reports three allowed warnings. Two have compatible fixes: - rustix 1.1.5 is unsound (RUSTSEC-2026-0486, xattr functions with a zero-length buffer); the advisory is patched in >= 1.1.6. We reach it through self_update -> tar -> xattr. - chacha20 0.10.1 is yanked upstream; 0.10.2 fixes the SSE2 backend using SSE4.1 instructions. rand 0.10.2 asks for "0.10.0". Only the two lockfile entries change (version and checksum). A plain `cargo update -p rustix --precise 1.1.6` also re-picked windows-sys for a dozen unrelated crates (0.61.2 -> 0.52.0/0.60.2), so the lockfile was edited to the two entries alone and checked with `cargo metadata --locked`; rustix 1.1.6 still accepts windows-sys ">=0.52, <0.62". chrono 0.4.45 (RUSTSEC-2026-0543, unmaintained) has no compatible fix and stays an allowed warning until rmcp's chrono dependency can be dropped.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #348 +/- ##
==========================================
- Coverage 96.40% 96.40% -0.01%
==========================================
Files 368 368
Lines 254382 254382
==========================================
- Hits 245229 245226 -3
- Misses 9153 9156 +3 see 4 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Merged
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.
Summary
Clear the two Security Audit warnings that have compatible fixes:
>= 1.1.6. We reach it throughself_update→tar→xattr.rand 0.10.2asks for"0.10.0".Only these two
Cargo.lockentries change (version and checksum). A plaincargo update -p rustix --precise 1.1.6also re-pickedwindows-sysfor a dozen unrelated crates (0.61.2 → 0.52.0/0.60.2), so the lockfile was edited to the two entries alone and validated withcargo metadata --locked; rustix 1.1.6 still acceptswindows-sys >=0.52, <0.62.chrono 0.4.45(RUSTSEC-2026-0543, unmaintained) has no compatible fix and stays an allowed warning; dropping it needs rmcp 3.12 withdefault-features = false, planned separately.Verification
cargo metadata --locked,cargo tree --locked -i rustix(only 1.1.6) and-i chacha20(only 0.10.2).make pre-cipassed on this head (full workspace tests, release build, guardrail, script tests, ui-check, archive smoke).