Skip to content

fix(deps): take rustix 1.1.6 for RUSTSEC-2026-0486 and replace the yanked chacha20 0.10.1 - #348

Merged
sunerpy merged 1 commit into
mainfrom
fix/deps-rustsec
Nov 27, 2026
Merged

sunerpy merged 1 commit into
mainfrom
fix/deps-rustsec

Conversation

@sunerpy

@sunerpy sunerpy commented Nov 27, 2026

Copy link
Copy Markdown
Owner

Summary

Clear the two Security Audit warnings that have compatible fixes:

  • rustix 1.1.5 → 1.1.6: RUSTSEC-2026-0486 (unsound xattr functions with a zero-length buffer), patched in >= 1.1.6. We reach it through self_update → tar → xattr.
  • chacha20 0.10.1 → 0.10.2: 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 these two Cargo.lock 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 validated 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; dropping it needs rmcp 3.12 with default-features = false, planned separately.

Verification

  • cargo metadata --locked, cargo tree --locked -i rustix (only 1.1.6) and -i chacha20 (only 0.10.2).
  • The pre-push make pre-ci passed on this head (full workspace tests, release build, guardrail, script tests, ui-check, archive smoke).
  • Expected in CI: Security Audit with 0 vulnerabilities and 1 allowed warning (chrono).

…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

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sunerpy
sunerpy merged commit cdcee53 into main Nov 27, 2026
11 checks passed
@sunerpy
sunerpy deleted the fix/deps-rustsec branch November 27, 2026 08:19
@github-actions github-actions Bot mentioned this pull request Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant