Skip to content

Bump deps to v0.3.1: security fixes + cargo install fix#18

Merged
gogoout merged 1 commit into
mainfrom
evan/build-deps
May 1, 2026
Merged

Bump deps to v0.3.1: security fixes + cargo install fix#18
gogoout merged 1 commit into
mainfrom
evan/build-deps

Conversation

@gogoout
Copy link
Copy Markdown
Owner

@gogoout gogoout commented May 1, 2026

Summary

  • Fixes cargo install sshfwd — russh 0.57 used caret ranges on RustCrypto pre-releases, causing cargo's resolver to land on rsa-0.10.0-rc.12 (type-mismatch compile error). russh 0.60 uses exact pins (rsa =0.10.0-rc.16, pkcs8 =0.11.0-rc.11), so the resolver is now deterministic and correct.
  • Closes 9 of 10 Dependabot security alerts (all high-severity ones):
    • russh DoS GHSA-f5v4-2wr6-hqmg (fixed in 0.60.1) — russh 0.57 → 0.60
    • aws-lc-sys 5× high CVEs (fixed in 0.38–0.39) — 0.37.0 → 0.40.0 via cargo update
    • libcrux-sha3 high GHSA-q29p-9pfr-j652 — libcrux-ml-kem dropped entirely in russh 0.60
    • lru low GHSA-rhfx-m35p-ff5j — 0.12.5 → 0.16.4 via ratatui 0.30 transitive bump
    • rand low GHSA-cq8v-f236-94qc — 0.9.2 → 0.10.1 via cargo update ✅ (fully closed)
  • Supersedes PR build(deps): Bump aws-lc-sys from 0.37.0 to 0.37.1 in the cargo group across 1 directory #16 (aws-lc-sys 0.37.0 → 0.37.1) — that bump did not satisfy any of the open CVEs (required ≥0.38.0); close it after this merges.
  • ratatui 0.29 → 0.30, crossterm 0.28 → 0.29, ssh2-config 0.6 → 0.7 (all latest)
  • One code change: authenticate_publickey_with in ssh/session.rs — russh 0.60 changed AgentIdentity from a plain PublicKey to an enum; extract via .public_key().into_owned()

Test plan

- russh 0.57 → 0.60: fixes `cargo install` rsa pre-release resolver conflict
  and closes high-severity DoS GHSA-f5v4-2wr6-hqmg; drops libcrux-ml-kem
  (high-severity GHSA-q29p-9pfr-j652 in libcrux-sha3)
- ratatui 0.29 → 0.30, crossterm 0.28 → 0.29, ssh2-config 0.6 → 0.7: latest
- aws-lc-sys 0.37 → 0.40 via cargo update: closes 5 high-severity CVEs
- lru 0.12 → 0.16, rand 0.9 → 0.10.1, plus ~60 compatible transitive bumps

Adapt authenticate_publickey_with call site for russh 0.60 API change
(AgentIdentity now wraps PublicKey; extract via .public_key().into_owned()).
@gogoout gogoout merged commit 686814f into main May 1, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant