chore: bump deps to resolve OSV vulnerabilities#142
Open
SVilgelm wants to merge 1 commit intorust-mcp-stack:mainfrom
Open
chore: bump deps to resolve OSV vulnerabilities#142SVilgelm wants to merge 1 commit intorust-mcp-stack:mainfrom
SVilgelm wants to merge 1 commit intorust-mcp-stack:mainfrom
Conversation
Reduce known vulnerabilities from 17 to 1: - cargo update: openssl 0.10.78, aws-lc-sys 0.40.0, rustls-webpki 0.103.13, rustls 0.23.40, rand 0.8.6 / 0.9.4 - axum-server 0.7 -> 0.8 (drops vulnerable rustls-pemfile@2.2.0); add SocketAddr generic to Handle usages - wiremock 0.5 -> 0.6 (drops vulnerable instant@0.1.13 and rand@0.7.3); migrate test_streamable_http_client to http-crate types Residual: rsa@0.9.10 (RUSTSEC-2023-0071) via oauth2-test-server, a dev-dependency only with no upstream fix. Assisted-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR updates workspace dependencies (notably TLS/HTTP stack and test tooling) to reduce known OSV-reported vulnerabilities, including upgrading axum-server and wiremock, and refreshing Cargo.lock accordingly.
Changes:
- Bump
axum-serverfrom0.7to0.8and update server handle types to the new genericHandle<SocketAddr>API. - Bump
wiremockfrom0.5to0.6and adjust the streamable HTTP client integration test to usehttp-crate header/method types. - Refresh
Cargo.lockvia dependency updates to pull patched transitive versions (e.g.,rustls,openssl,aws-lc-sys,rand).
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
crates/rust-mcp-transport/Cargo.toml |
Updates dev-dependency wiremock to 0.6 to remove vulnerable transitive deps in test tooling. |
crates/rust-mcp-sdk/tests/test_streamable_http_client.rs |
Migrates test assertions to wiremock 0.6 request/header/method APIs. |
crates/rust-mcp-sdk/src/hyper_servers/server.rs |
Adapts HyperServer to axum-server 0.8 by using Handle<SocketAddr> and updating signatures accordingly. |
crates/rust-mcp-sdk/src/hyper_servers/hyper_runtime.rs |
Updates runtime struct field type for the new axum-server handle generic. |
crates/rust-mcp-sdk/Cargo.toml |
Bumps axum-server to 0.8 and wiremock to 0.6 for the SDK crate. |
Cargo.toml |
Bumps workspace axum-server to 0.8 so workspace crates share the updated server implementation. |
Cargo.lock |
Large lockfile refresh reflecting patched dependency graph after cargo update and version bumps. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Reduce known vulnerabilities from 17 to 1:
cargo update: openssl 0.10.78, aws-lc-sys 0.40.0, rustls-webpki 0.103.13, rustls 0.23.40, rand 0.8.6 / 0.9.4SocketAddrgeneric toHandleusagestest_streamable_http_clientto http-crate typesResidual: rsa@0.9.10 (RUSTSEC-2023-0071) via
oauth2-test-server, a dev-dependency only with no upstream fix.Fixes: #140