Repository navigation
fix(deps): update rustix for RUSTSEC-2026-0486 - #654
Conversation
|
Warning Review limit reachedUsage-based billing could not be verified for over-limit reviews. Try again later or contact support. Next included review available in 47 minutes. View limit details
|
jatmn
left a comment
There was a problem hiding this comment.
🟢 Thanks for the contribution. I do not see any actionable issues from my review.
Merge readiness
- Rebase onto current
mainbefore merge. PR headbdeae363branches from1ba71bc; liveorigin/mainis three commits ahead (d4cbdb3and successors). GitHub reports the PR mergeable and theCargo.lockhunk did not conflict in a localmerge-treecheck, but CI and review were anchored to the older parent — rebase (or mergemainin) so the final green run matches the merge target. - Review gate: merge state is
BLOCKEDpending review fromjatmn(not CI). All listed PR Checks passed, includingcargo audit,test (stable/beta), MSRV, and Docker smoke. - Audit urgency (context only): merge-base
cargo auditalready exited 0 withRUSTSEC-2026-0486classified as an allowed unsound warning (not a hard fail). This PR still correctly clears that warning and pins the patchedrustix— it is hygiene and soundness, not unblocking a red audit job.
Needs maintainer decision
Pair xattr 1.7.0 with this rustix 1.1.6 bump?
Independent probes (runtime/missing-contract/probe-114.txt vs probe-116.txt) show xattr 1.6.1 round-trips attributes >4KiB against rustix 1.1.4, but returns empty payloads against rustix 1.1.6 (the 1.1.6 zero-length getxattr fix; upstream addresses this in xattr 1.7.0 with *_query helpers). The lockfile still pins xattr 1.6.1 on the tar → twigpine-node chain.
Today's tree does not call xattr:: directly and does not enable tar SCHILY xattr restore, so no current production path hits this regression. If maintainers expect future xattr restore or other large-xattr reads, bumping xattr to ≥1.7.0 in the same lockfile pass is a one-command follow-up (cargo update -p xattr --precise 1.7.0, ~9 lock lines in a local dry-run). If the goal is scanner-only RUSTSEC-2026-0486 closure, the present diff is sufficient.
|
Merged current main into the branch (c529b69). The diff against main is still only the rustix 1.1.4 to 1.1.6 lock change. On xattr: I'm leaving it out of this PR. Nothing in the workspace calls xattr directly, and the only tar reads are the two tar::Archive::unpack sites in git/tigris.rs, which never set unpack_xattrs, so it stays at its default of false. tar 0.4.46 calls xattr only through xattr::set on that path, so no code here reads an xattr and the zero-length getxattr change is not reachable. I couldn't find probe-114.txt or probe-116.txt in the repo, so I haven't reproduced the empty-payload result myself, but xattr 1.7.0 requiring rustix ^1.1.6 fits what you describe. If we start reading xattrs I'll take xattr 1.7.0 in its own PR, which keeps this one to the single advisory. |
Summary
Bump rustix from 1.1.4 to 1.1.6.
Motivation & context
1.1.6 fixes RUSTSEC-2026-0486.
Kind of change
What changed
Cargo.lock. No workspace crate source changed.How a reviewer can verify
Run from the repository root with
DATABASE_URLset to a local Postgres test database andcargo-auditinstalled.cargo fmt --all -- --check cargo clippy --locked --workspace --all-targets -- -D warnings cargo test --locked --workspace cargo audit cargo +1.91 check --locked --workspace --all-targetsBefore you request review
cargo test --workspacepasses locallycargo fmt --allandcargo clippy --workspace --all-targets -- -D warningsare cleanfeat(...),fix(...),docs(...)).env.exampleupdated if behavior or config changed (or N/A)Notes for reviewers
Postgres workspace tests, fmt, audit, and the Rust 1.91 check passed locally. The hosted
fmt + clippyjob passed.