fix(deps): update rustls for RUSTSEC-2026-0285 - #379
Merged
Merged
Conversation
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.
Problem
The
cargo-denyadvisories check now fails onmainwith a security vulnerability, which blocks CI and the v0.1.36 release build:RUSTSEC-2026-0285(GHSA-2mjx-qc3c-rqvc) affectsrustls 0.23.41: a peer could send handshake messages that should be encrypted in plaintext withoutrustlsrejecting the connection. Every release and PR pipeline that runscargo deny check advisoriesfails until the lockfile is updated.The same run also reports
warning[yanked]: detected yanked crateforspin 0.10.0(pulled in throughcrc-fast->aws-smithy-checksums->aws-sdk-s3).Root cause
The workspace pins
rustls 0.23.41andspin 0.10.0inCargo.lock. The advisory forrustlswas published after the lockfile was last refreshed, andspin 0.10.0has since been yanked from crates.io.Solution
Targeted lockfile refresh only, no manifest or source changes:
cargo update -p rustls->rustls 0.23.45,rustls-webpki 0.103.15,aws-lc-rs 1.18.1,aws-lc-sys 0.45.0cargo update -p spin@0.10.0->spin 0.10.1Validation
Run on
cxymds/fix-rustls-advisory(commit b3d024e):cargo fmt --all --check- passcargo clippy --workspace --all-targets --locked -- -D warnings- pass, zero warningscargo test --workspace --locked- pass, 66 test targets, 0 failurescargo deny check advisories- re-verified by CI on this PR