Skip to content

update: bump russh and ssh-key to clear RUSTSEC-2023-0071 - #362

Merged
inureyes merged 1 commit into
mainfrom
update/issue-361-russh-rsa-advisory
Nov 19, 2026
Merged

inureyes merged 1 commit into
mainfrom
update/issue-361-russh-rsa-advisory

Conversation

@inureyes

Copy link
Copy Markdown
Member

russh 0.65.1 pinned rsa = "=0.10.0-rc.18", which sorts below the patched rsa 0.10.0, so RUSTSEC-2023-0071 (Marvin timing side channel) kept firing and was suppressed in .cargo/audit.toml. russh 0.65.2 (crates.io, 2026-11-16) ships the upstream fix and depends on rsa ^0.10 and ssh-key =0.7.0-rc.12.

  • Bump russh to 0.65.2 and the ssh-key pin to =0.7.0-rc.12 to match it. Cargo.lock now resolves rsa 0.10.0 and pkcs1 0.8.0 stable.
  • Remove the RUSTSEC-2023-0071 suppression.
  • russh-sftp 3.0.1 uses russh only as a dev-dependency, so it stays as is.

Validation: cargo clippy --all-targets --all-features -- -D warnings passes. cargo test --all-features --no-fail-fast passes 2739 tests, including the 66 certificate tests (ssh-key rc.12 rejects certificate keys used as CA keys). The 4 integration_test failures come from the local SSH agent having no identities and fail identically on main. cargo deny check advisories no longer reports RUSTSEC-2023-0071; it still reports the unrelated RUSTSEC-2026-0543 (chrono unmaintained), which is present on main too. cargo audit was not run locally (not installed).

Closes #361

russh 0.65.1 pinned rsa =0.10.0-rc.18, and prerelease versions sort below the patched rsa 0.10.0, so cargo audit and cargo deny kept reporting the Marvin timing advisory. russh 0.65.2 depends on rsa ^0.10 and ssh-key =0.7.0-rc.12, which resolves rsa 0.10.0 and pkcs1 0.8.0 stable.

Bump russh to 0.65.2 and the ssh-key pin to =0.7.0-rc.12 to match it, and drop the now-unneeded RUSTSEC-2023-0071 suppression from .cargo/audit.toml. russh-sftp 3.0.1 only uses russh as a dev-dependency and needs no change.

Validated with clippy -D warnings and cargo test --all-features (2739 pass, including the 66 certificate tests). The 4 integration_test failures come from the local SSH agent having no identities and fail the same way on main. cargo deny check advisories no longer reports RUSTSEC-2023-0071.

Closes #361
@inureyes inureyes added type:dependency Dependency updates status:review Under review priority:medium Medium priority issue labels Nov 19, 2026
@inureyes
inureyes merged commit 85bba56 into main Nov 19, 2026
5 checks passed
@inureyes
inureyes deleted the update/issue-361-russh-rsa-advisory branch November 19, 2026 19:17
@inureyes inureyes added status:done Completed and removed status:review Under review labels Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:medium Medium priority issue status:done Completed type:dependency Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update: bump russh and ssh-key to clear RUSTSEC-2023-0071

1 participant