Skip to content

fix(deps): bump rustix 1.1.5 -> 1.1.6 for RUSTSEC-2026-0486 (#14239) - #14240

Closed
EffortlessSteven wants to merge 2 commits into
mainfrom
claude/project-thread-nmi486
Closed

EffortlessSteven wants to merge 2 commits into
mainfrom
claude/project-thread-nmi486

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Requested by Steven Zimmerman · project thread

Summary

  • Lockfile-only bump of rustix from 1.1.5 to 1.1.6, the patched release for RUSTSEC-2026-0486 (GHSA-jh2m-fhpj-3vr7, unsound rustix::fs xattr functions on a zero-length buffer). This is what turns the Security / cargo-deny job red on main.

Closes #14239.

Swarm / Source Boundary

  • ordinary feature, analyzer, editor, docs, spec, fixture, badge,
    dependency, or repo-ops development for ripr-swarm

Source-of-truth Links

Proposal: n/a
Spec: n/a
ADR: n/a
Plan item: n/a
Governing issue or accepted claim: #14239
Acceptance delta (one sentence): Root Cargo.lock resolves rustix 1.1.6, so the cargo-deny advisories check no longer reports RUSTSEC-2026-0486.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): claude/project-thread-nmi486
Stack parent or prerequisite PR (if any): none
Proposed replacement of PR (if any; not yet accepted): none. Dependabot #14013 carries the same rustix bump grouped with unicode-width, unicode-properties and zip; it is not replaced and can rebase onto this.
Acceptance retained from a replaced candidate (if any): n/a
Accepted winner and losing candidate disposition (when decided): n/a

Scope

  • Cargo.lock: rustix version and checksum only (2 lines).

Scope Classification

  • Other: one dependency lockfile update

Production delta:

  • rustix 1.1.5 -> 1.1.6 in the resolved graph of ripr, xtask and tools/repo-policy.

Evidence/support delta:

  • none

Single acceptance criterion:

  • cargo-deny check advisories licenses bans sources passes on this head.

Non-goals:

  • No manifest floor change (manifests already admit 1.1.6; first-party code calls only rustix::process, event, fd and io, not the affected xattr functions).
  • No change to fixture lockfiles under crates/ripr/tests/fixtures/**; they are analysis inputs outside the cargo-deny graph.
  • No deny.toml ignore entry.

Support-tier Impact

  • none

Policy Impact

  • dependency

Ledger or exception notes:

  • No new dependency and no exception. Same crate, same registry source, patch release. Version 1.1.6 and the fixing commit 8e6aaa67 match the advisory text in rustsec/advisory-db (crates/rustix/RUSTSEC-2026-0486.md).

Proof

cargo update -p rustix --precise 1.1.6   # Updating rustix v1.1.5 -> v1.1.6, nothing else
git diff --stat origin/main              # Cargo.lock | 4 ++--
cargo xtask check-dependencies           # check-dependencies: pass

Result, failures, or skipped proof:

  • cargo xtask check-dependencies passed locally and compiled xtask against rustix 1.1.6.
  • cargo-deny itself was not run locally (the tool is not installed in this container and running a downloaded binary was not permitted). The hosted Security / cargo-deny job on this head is the proof for the acceptance criterion and is still to run.
  • No workspace test run locally; the change is a patch-level lockfile update and hosted qualification covers it.

Claim Boundary

  • After merge: main's lockfile no longer contains the rustix version named by RUSTSEC-2026-0486.
  • Not claimed: that ripr ever reached the affected functions at runtime.

Rollback

  • Revert the commit; this restores rustix 1.1.5 and the advisory failure.

Spec-Test-Code Traceability

  • Spec: n/a
  • Tests: n/a
  • Code: Cargo.lock
  • Golden outputs: n/a
  • Metrics: n/a
  • ADR/learning: n/a

Static Language Check

  • Static output avoids killed, survived, untested, proven, and adequate.
  • Unknowns include stop reasons where applicable.

CI Economics

n/a

Engineering Check

  • No new panic, unwrap, expect, todo, or unimplemented in production code.
  • No new panic, unwrap, expect, todo, or unimplemented in tests.
  • New generated, dependency, process-spawn, or network surfaces are allowlisted with owner and reason.

Gates

  • cargo xtask check-dependencies

Generated by Claude Code

rustix < 1.1.6 has unsound xattr functions (RUSTSEC-2026-0486,
GHSA-jh2m-fhpj-3vr7), which fails the cargo-deny advisories check on
main. Lockfile-only update to the patched release; no other package
moves and no manifest changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016EQRVkoRBsr5Qz6U6dLEnU
@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 1 minute.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 145 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: a291b66b-a688-41f4-a37b-a2ea91b978ba
Commits

Reviewing files that changed from the base of the PR and between 35cc753 and d44b418.

Files selected for processing: 1

  • changelog.d/14239-rustix-1-1-6-advisory.md
Pre-merge checks: Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Title check Pending This assessment has not completed. The check will be retried on the next pre-merge check run.
Description check Pending This assessment has not completed. The check will be retried on the next pre-merge check run.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@EffortlessSteven EffortlessSteven self-assigned this Nov 11, 2026
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review November 11, 2026 08:52

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the rustix dependency version from 1.1.5 to 1.1.6 in Cargo.lock. There are no review comments, and I have no feedback to provide.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOURCE_REVIEW_READY

Head 35cc753.

Inspected the complete diff: Cargo.lock only, two lines, the rustix version (1.1.5 to 1.1.6) and its registry checksum. No other package moved and no manifest changed.

Checked against the advisory text in rustsec/advisory-db (RUSTSEC-2026-0486): patched range is >= 1.1.6, same crate and registry source, patch release. First-party use of rustix is limited to the process, event, fd and io modules, which this release does not change in signature; xtask compiled against 1.1.6 and cargo xtask check-dependencies passed locally.

Hosted proof still to run on this head: the Security cargo-deny job and Routed Rust Small. cargo-deny was not run locally.


Generated by Claude Code

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

docs/CHANGELOG_POLICY.md asks for an entry when a dependency bump affects
security.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016EQRVkoRBsr5Qz6U6dLEnU

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOURCE_REVIEW_READY

Head d44b418.

Inspected the complete diff: Cargo.lock (rustix 1.1.5 to 1.1.6, version and checksum lines only) and one new changelog fragment, changelog.d/14239-rustix-1-1-6-advisory.md, added because the changelog policy asks for an entry when a dependency bump affects security. No manifest or source change.

The lockfile commit is unchanged from the previous head, where the hosted Security cargo-deny job passed. cargo xtask check-dependencies passed locally on the lockfile change.

Hosted proof still to run on this head: Routed Rust Small and the Security cargo-deny job.


Generated by Claude Code

@github-actions

Copy link
Copy Markdown
Contributor

ripr static exposure check

Commit d44b418c2005 · run · advisory, static evidence only (not a mutation run).

#ripr agent static-advisory base=abf2c72db29b8717348596d9034d18af66479b10 findings=0 gaps=0
stop=nothing was analyzed (no changed source in scope); not a clean result
verify=refused|outcome=no_behavioral_candidates|findings=0|exposed=0|reason=no_behavior_in_scope

Took 1s.

This was referenced Nov 12, 2026
EffortlessSteven pushed a commit that referenced this pull request Nov 12, 2026
cargo-deny fails every PR on the new advisory against rustix 1.1.5;
this is the identical Cargo.lock change from #14240 so this PR can
qualify before that one lands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVdGzRJemG7igDFtKFgwB1
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 12, 2026

Copy link
Copy Markdown
Member Author

Queue outcome and remaining scope, verified November 12:

  • GitHub removed this unchanged head d44b418c20057f3f3e153a9f8788cb318e30f979 at 05:16:49 UTC with reason failed_checks.
  • Native G run 43156857731 tested a0da7837ea2fa63cf3c7a068f8699e9bedf5ef3e over b9f04dbe223ba6ea8e71561a3f84e2be8d91ea1d. Docs-gate job 130979135151 has the explicit annotation: The job has exceeded the maximum execution time of 20m0s. It stopped inside the full precommit step; the required Result then failed because the selected docs gate was cancelled. Artifact upload succeeded. The newer plain REVIEW_READY review remains present; this is not the earlier review-marker finding.
  • The dependency repair is now on main: #14210's landed commit includes the same rustix 1.1.5-to-1.1.6 version/checksum update. Current main b9f04dbe resolves 1.1.6. The exact B-to-G comparison therefore contains only changelog.d/14239-rustix-1-1-6-advisory.md, two lines. Docs routing was correct for this remaining composition.

For the retained owner/shepherd: reconcile the remaining changelog and #14239 completion claim against that actual landing before another qualification request. The docs-gate timeout remains a separate CI performance failure; this readback does not propose raising its limit or omitting its obligations. No fresh current-main cargo-deny run is claimed. No source, review, queue, workflow, or protection change was made by this check.

Copy link
Copy Markdown
Member Author

Superseded by source already on main.

PR #14210 merged as 17076506afc35dfc91b0329e9de8b9391dd02cdb and its accepted diff carried the exact Cargo.lock repair this PR owns: rustix 1.1.5 -> 1.1.6 with the patched checksum. Current main still resolves rustix 1.1.6.

This branch therefore duplicates landed bytes and is no longer a security or consumer prerequisite. Closing without merge. Any remaining #14239 disposition should be based on current-main security evidence, not another qualification of this stale branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cargo-deny red on main: RUSTSEC-2026-0486 (rustix 1.1.5, unsound xattr functions); bump to 1.1.6

2 participants