From 0fc406b22d25d3b013938aa182acf077de9964d6 Mon Sep 17 00:00:00 2001 From: Alfa_beda <95350284+DroBov1Tya@users.noreply.github.com> Date: Tue, 17 Nov 2026 15:11:30 +0300 Subject: [PATCH] deps: take rmcp 3.10 for the response body cap rmcp 3.8 read an MCP server's response without a size bound (RUSTSEC-2026-0462), so a hostile server could exhaust memory. 3.10 is a semver-compatible update; nothing else in the lock moved beyond rmcp's own macros. --- Cargo.lock | 27 ++++++++++++++------------- changes/rmcp-update.md | 2 ++ 2 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 changes/rmcp-update.md diff --git a/Cargo.lock b/Cargo.lock index dae8579..ff0c986 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2161,7 +2161,7 @@ dependencies = [ "libc", "option-ext", "redox_users 0.5.3", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -2578,7 +2578,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -3262,7 +3262,7 @@ dependencies = [ "log", "presser", "thiserror 2.0.21", - "windows 0.62.2", + "windows 0.57.0", ] [[package]] @@ -4299,7 +4299,7 @@ dependencies = [ "js-sys", "log", "wasm-bindgen", - "windows-core 0.62.2", + "windows-core 0.57.0", ] [[package]] @@ -7421,7 +7421,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -8087,9 +8087,9 @@ dependencies = [ [[package]] name = "rmcp" -version = "3.8.0" +version = "3.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8be15815186873ea063bf005011d16c356804973489e40c39116ae3a2878d1f" +checksum = "b5949e504d5ab9944a168259afc0c39ac0230627b6ec5367ace194c59bcbe163" dependencies = [ "async-trait", "base64 0.23.1", @@ -8105,6 +8105,7 @@ dependencies = [ "reqwest", "serde", "serde_json", + "sha2 0.11.1", "sse-stream", "thiserror 2.0.21", "tokio", @@ -8307,7 +8308,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.12.1", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -8386,7 +8387,7 @@ dependencies = [ "security-framework", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -9815,10 +9816,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.4.3", + "getrandom 0.3.4", "once_cell", "rustix 1.1.6", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -11408,7 +11409,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.48.0", ] [[package]] @@ -12055,7 +12056,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d6f32a0ff4a9f6f01231eb2059cc85479330739333e0e58cadf03b6af2cca10" dependencies = [ "cfg-if", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] diff --git a/changes/rmcp-update.md b/changes/rmcp-update.md new file mode 100644 index 0000000..7146b4b --- /dev/null +++ b/changes/rmcp-update.md @@ -0,0 +1,2 @@ +Security +The MCP client takes rmcp 3.10, which caps the body a hostile MCP server can send (RUSTSEC-2026-0462).