Repository navigation
fix(deps): bump tokio to 1.53.3 for RUSTSEC-2026-0386 - #260
Open
Nic-dorman wants to merge 1 commit into
Open
Nic-dorman wants to merge 1 commit into
Nic-dorman wants to merge 1 commit into
Conversation
tokio 1.53.1 -> 1.53.3 resolves RUSTSEC-2026-0386 (unsound tokio::io::unix::AsyncFd; patched in >=1.51.6,<1.52.0 and >=1.53.3). Lockfile-only: Cargo.toml keeps `tokio = "1.35"`, which already admits 1.53.3. `cargo update -p tokio --precise 1.53.3` with cargo 1.97 also rewrote unrelated windows-sys 0.61 -> 0.52 and socket2 0.6 -> 0.5 edges, so the tokio version and checksum were edited by hand and the diff is limited to those two lines. No dependency edges changed. Closes V2-1736 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Linear issue
Closes V2-1736
Part of V2-1733, which tracks the same move across every affected WithAutonomi lockfile.
Risk tier
This tier is proposed rather than asserted, and matches the earlier lockfile advisory moves (V2-1659). The change is lockfile only: tokio moves from 1.53.1 to 1.53.3, and only its version and checksum change. RUSTSEC-2026-0386 is informational ("unsound"). The safe
AsyncFdconstructors violate I/O safety, so closing a duplicated fd can lead to a use-after-free. It is Unix-only. The patched versions are 1.51.6 and 1.53.3 or later. No Autonomi protocol message changes.Compatibility
Semver impact
Test evidence
cargo update --preciseon cargo 1.97 also rewrote unrelated windows-sys edges, so the tokio version and checksum were edited by hand. The checksum is the one cargo itself resolved.cargo metadata --locked: passcargo check --locked --all-targets: passcargo audit: RUSTSEC-2026-0386 is present before the change and gone after. No new advisories.New dependency
none
ADR
n/a
Mitigation / rollback
Revert the single Cargo.lock commit. tokio goes back to 1.53.1.
🤖 Generated with Claude Code