Skip to content

fix(deps): bump rustls to 0.23.45 for RUSTSEC-2026-0285 - #1412

Merged
xiaolai merged 1 commit into
mainfrom
fix/rustls-rustsec-2026-0285
Sep 15, 2026
Merged

xiaolai merged 1 commit into
mainfrom
fix/rustls-rustsec-2026-0285

Conversation

@xiaolai

@xiaolai xiaolai commented Sep 15, 2026

Copy link
Copy Markdown
Owner

Summary

What Changed

A plain cargo update -p rustls stops at 0.23.43, which is still vulnerable, because 0.23.44 and later need newer aws-lc-rs and rustls-webpki. The update is pinned to the patched release (--precise 0.23.45), which moves:

Crate From To
rustls 0.23.41 0.23.45
rustls-webpki 0.103.13 0.103.15
aws-lc-rs 1.17.0 1.18.1
aws-lc-sys 0.41.0 0.45.0

rustls reaches the app through reqwest, hyper-rustls, rustls-platform-verifier and tauri-plugin-updater.

Validation

  • cargo audit with CI's exact flags: exit 1 on main (RUSTSEC-2026-0285), exit 0 with this change. Only the already-allowed "unmaintained" warnings remain.
  • cargo clippy --all-targets -- -D warnings: exit 0.
  • cargo test: exit 0 (3,117 lib tests, plus the integration binaries).
  • bash scripts/check-cross-target.sh: x86_64-pc-windows-gnu compiles clean. This matters because aws-lc-sys builds C code per target.
  • lint:tauri-versions, the only frontend gate that reads Cargo.lock: exit 0.
  • pnpm check:all was not run: it never invokes cargo, and no other frontend gate reads the lockfile.

Type of Change

  • Bug fix (security advisory)
  • Feature

RUSTSEC-2026-0285 (TLS 1.3 handshake messages incorrectly accepted
across encryption level boundaries) affects rustls 0.23.41, which
src-tauri/Cargo.lock pinned. The rust-audit job fails on it, and
rust-audit feeds the required rust check, so every open PR was blocked.

A plain cargo update -p rustls stops at 0.23.43, still vulnerable,
because 0.23.44 and later need newer aws-lc-rs and rustls-webpki. So
the update is pinned to the patched release, which moves:

  rustls         0.23.41 -> 0.23.45
  rustls-webpki  0.103.13 -> 0.103.15
  aws-lc-rs      1.17.0 -> 1.18.1
  aws-lc-sys     0.41.0 -> 0.45.0

rustls reaches the app through reqwest, hyper-rustls,
rustls-platform-verifier and tauri-plugin-updater. Lockfile only; no
manifest changes.
@xiaolai
xiaolai merged commit 3129e86 into main Sep 15, 2026
18 checks passed
@xiaolai
xiaolai deleted the fix/rustls-rustsec-2026-0285 branch September 15, 2026 03:28
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