Skip to content

fix: update tokio to 1.53.3 for RUSTSEC-2026-0386 - #387

Draft
seant-aws wants to merge 1 commit into
OpenJobDescription:mainlinefrom
seant-aws:fix-cargo-deny-tokio
Draft

seant-aws wants to merge 1 commit into
OpenJobDescription:mainlinefrom
seant-aws:fix-cargo-deny-tokio

Conversation

@seant-aws

Copy link
Copy Markdown
Contributor

Fixes: no tracking issue; cargo-deny fails on every PR since 2026-10-23 (example run: https://github.com/OpenJobDescription/openjd-model-for-python/actions/runs/41897097991).

What was the problem/requirement? (What/Why)

The advisories check fails on RUSTSEC-2026-0386 (safe AsyncFd constructors are unsound) for tokio 1.53.1, which openjd-sessions and the bindings pull in.

What was the solution? (How)

A patched release exists, so this updates the lockfile only: cargo update -p tokio --precise 1.53.3 (the fixed release on the same minor line), with no deny.toml ignore. The tokio version line in THIRD-PARTY-LICENSES.txt is bumped to match, since that check is tied to Cargo.lock.

What is the impact of this change?

tokio 1.53.1 -> 1.53.3 in the shipped extension; no Cargo.toml or code changes.

How was this change tested?

cargo deny check advisories fails before and passes after; licenses/bans/sources, cargo fmt --check, build, clippy -D warnings, cargo test, and hatch run test (6330 passed) all pass. The THIRD-PARTY-LICENSES check still fails here on the unrelated pydantic drift fixed in the separate licenses PR; the two PRs touch different lines of that file and merge in either order.

Was this change documented?

N/A.

Is this a breaking change?

No.

Does this change impact security?

No.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

cargo-deny's advisories check fails on RUSTSEC-2026-0386 (unsound safe
AsyncFd constructors) for tokio 1.53.1. 1.53.3 is the patched release on
the same minor line. Lockfile-only update; the matching tokio line in
THIRD-PARTY-LICENSES.txt is updated so the license check stays in sync
with Cargo.lock.

Signed-off-by: Sean Tang <171081544+seant-aws@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

Claude review · advisory

Reviewed bbc8479 (full review): 0 findings.

Open: 0 blocking · 0 should-fix · 0 nit. ✅ Nothing blocking.

Fix or reply to each thread; the next revision's review re-checks open threads and resolves those it agrees are handled. Resolving a thread yourself also closes it. Later revisions review only what changed.

This branch has not been deployed

No deployments
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.

1 participant