From f8ec4dfea56405ed4e190f32fcb9aa5806241a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Henrique=20Ara=C3=BAjo?= Date: Tue, 10 Nov 2026 09:31:16 -0300 Subject: [PATCH] fix(deps): patch four Rust advisories The weekly cargo-deny run on main fails on four new advisories: - RUSTSEC-2026-0459: bundled SQLite (libsqlite3-sys 0.38). rusqlite 0.41 bundles SQLite 3.54.1; no code changes were needed. - RUSTSEC-2026-0433: quadratic parsing of nested image wiki links in pulldown-cmark 0.13.5, which synced notes can trigger. 0.13.6 fixes it. - RUSTSEC-2026-0462: unbounded response buffering in rmcp's Streamable HTTP client. LowNotes only uses the stdio transport, but 3.9.0 clears it. - RUSTSEC-2026-0429: zip 4 aborts on a crafted symlink entry. The updater plugin 2.14.1 moved to zip 9, so the three older zip ignores in deny.toml go away too. The npm package follows to 2.14.1 because the Tauri CLI refuses mismatched minor versions. async-executor moves off the yanked 1.14.0. --- bun.lock | 4 +- package.json | 2 +- src-tauri/Cargo.lock | 110 +++++++++++++++++++++++++------------------ src-tauri/Cargo.toml | 8 ++-- src-tauri/deny.toml | 10 +--- 5 files changed, 71 insertions(+), 63 deletions(-) diff --git a/bun.lock b/bun.lock index db57256..0a9b6bc 100644 --- a/bun.lock +++ b/bun.lock @@ -11,7 +11,7 @@ "@tauri-apps/plugin-dialog": "^2.8.0", "@tauri-apps/plugin-opener": "^2.7.0", "@tauri-apps/plugin-process": "^2.4.0", - "@tauri-apps/plugin-updater": "^2.13.0", + "@tauri-apps/plugin-updater": "^2.14.1", "codemirror": "^6.0.2", "docx": "^9.8.0", "jspdf": "^4.2.1", @@ -307,7 +307,7 @@ "@tauri-apps/plugin-process": ["@tauri-apps/plugin-process@2.4.0", "", { "dependencies": { "@tauri-apps/api": "^2.12.0" } }, "sha512-GddrmsSLAYrLa/yTXlXK/YRDzUgYeeOnUXTbiyvJWkmI424RmDPD3FVLeqcon7rv6O6ZfhBilcrHWnSo7o6hIQ=="], - "@tauri-apps/plugin-updater": ["@tauri-apps/plugin-updater@2.13.0", "", { "dependencies": { "@tauri-apps/api": "^2.12.0" } }, "sha512-9iwTSOlxMPZGI6M84Nd00rv6g+xERo8g4GDvG9cazOao+HjdIHZYCcvkvSP6JGn7Z50/R8t2jbR+PxQxf2qKMQ=="], + "@tauri-apps/plugin-updater": ["@tauri-apps/plugin-updater@2.14.1", "", { "dependencies": { "@tauri-apps/api": "^2.12.0" } }, "sha512-Hr7nlBm1wT6xbwzjZ/S36YULazu8MNlj5vvOwMl47fXI7HTa5Bjl1PbDEwVHaZTAKzE1VZsUy35UqnbrQxmYQw=="], "@types/bun": ["@types/bun@1.4.2", "", { "dependencies": { "bun-types": "1.4.2" } }, "sha512-GimotNn7+ZV0uVArItBbriZsR1oNf0+WTzPkdcFrzShI7k2norL0uzEaJT8T33dWr7O/c9ZDuAFQrctKCi72oQ=="], diff --git a/package.json b/package.json index b67fa03..eb53b20 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "@tauri-apps/plugin-dialog": "^2.8.0", "@tauri-apps/plugin-opener": "^2.7.0", "@tauri-apps/plugin-process": "^2.4.0", - "@tauri-apps/plugin-updater": "^2.13.0", + "@tauri-apps/plugin-updater": "^2.14.1", "codemirror": "^6.0.2", "docx": "^9.8.0", "jspdf": "^4.2.1", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index c9e0084..9d0b1c4 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -82,15 +82,6 @@ version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" -[[package]] -name = "arbitrary" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1" -dependencies = [ - "derive_arbitrary", -] - [[package]] name = "arc-swap" version = "1.9.2" @@ -132,9 +123,9 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.14.0" +version = "1.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c96bf972d85afc50bf5ab8fe2d54d1586b4e0b46c97c50a0c9e71e2f7bcd812a" +checksum = "f426a31126c735126297bc5ea7a521263c9faff4f63ca415267ee625651c4f37" dependencies = [ "async-task", "concurrent-queue", @@ -407,7 +398,7 @@ dependencies = [ "arrayvec", "cc", "cfg-if", - "constant_time_eq", + "constant_time_eq 0.4.2", "cpufeatures 0.3.1", ] @@ -727,6 +718,15 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" +[[package]] +name = "constant_time_eq" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eb6feb175df65d0a3ccd3e73484e940d0ac664e8034f0519fd49a93db3071d9" +dependencies = [ + "rustversion", +] + [[package]] name = "convert_case" version = "0.10.0" @@ -1102,17 +1102,6 @@ dependencies = [ "serde_core", ] -[[package]] -name = "derive_arbitrary" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - [[package]] name = "derive_more" version = "2.1.1" @@ -1159,6 +1148,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" dependencies = [ "block-buffer 0.12.1", + "const-oid", "crypto-common 0.2.2", ] @@ -3025,9 +3015,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.38.2" +version = "0.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1d20bef17f513b9b3004532233187769cd072d790971f4e4da0e346eb6401e8" +checksum = "14a5f01b87b92705d07b433c06f96cbc764637d81a0bffb5734ce17cf0f9a2b3" dependencies = [ "cc", "pkg-config", @@ -3191,9 +3181,9 @@ dependencies = [ [[package]] name = "minisign-verify" -version = "0.2.5" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22f9645cb765ea72b8111f36c522475d2daa0d22c957a9826437e97534bc4e9e" +checksum = "871285dc19d8d0ebe0eef3d0e99a205f2a71363b122632cbbfa4a6c370a960ce" [[package]] name = "miniz_oxide" @@ -3545,6 +3535,18 @@ version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" +[[package]] +name = "nix" +version = "0.31.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d" +dependencies = [ + "bitflags 2.13.2", + "cfg-if", + "cfg_aliases", + "libc", +] + [[package]] name = "noq" version = "1.3.0" @@ -4410,9 +4412,9 @@ dependencies = [ [[package]] name = "pulldown-cmark" -version = "0.13.5" +version = "0.13.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "278e9268c93b9e498a2da46c34d90ba93a3255eb99009646398f34bc73ab36eb" +checksum = "3db2be46835f013dd3f4fa7f5f7402c537787b54ebb6fe2b94bbdd7e2669bb7b" dependencies = [ "bitflags 2.13.2", "memchr", @@ -4731,9 +4733,9 @@ dependencies = [ [[package]] name = "rmcp" -version = "3.8.0" +version = "3.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8be15815186873ea063bf005011d16c356804973489e40c39116ae3a2878d1f" +checksum = "d24a7e92f4bcaa36b97fa93c4fa7ca8f3e669eced949345b3462dba333c7f909" dependencies = [ "chrono", "futures", @@ -4745,6 +4747,7 @@ dependencies = [ "schemars 1.2.2", "serde", "serde_json", + "sha2 0.11.0", "thiserror 2.0.21", "tokio", "tokio-util", @@ -4754,9 +4757,9 @@ dependencies = [ [[package]] name = "rmcp-macros" -version = "3.8.0" +version = "3.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b0748e054a5f5598b3213cf72099ae6b2745ba4d996c59ccf455150a7dbb839" +checksum = "b3140f24a766f80f9ec1607bde85680959a69b83d46fa9ce87dadab7e67ab029" dependencies = [ "darling", "proc-macro2", @@ -4777,9 +4780,9 @@ dependencies = [ [[package]] name = "rusqlite" -version = "0.40.2" +version = "0.41.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23f2a97da3e3873c73cb2a2e71b35c40ff95e0b1eefa8d72d8499a6928c3b5b3" +checksum = "da9bba6f3506135e120a6586df05be18b48d18896600646a4bec8f993d91a594" dependencies = [ "bitflags 2.13.2", "fallible-iterator", @@ -5566,9 +5569,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "swift-rs" -version = "1.0.8" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e45c444e496845d3f2a351146bff59aae4975b2280238df1dfaa0c7d1846f38e" +checksum = "cefd87076fd385308ee4aff597256c902f1fbb4d031de1558efc12f8ffefadd9" dependencies = [ "base64 0.21.7", "serde", @@ -5855,9 +5858,9 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.7.0" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9ff3ebb9fda56ceb93d46f6cbb126bae82951bf43498543a5163dde5def49a1" +checksum = "67fb21a77e8f94e8beb3325e583102488659365af0a3948b7ea244c5b779c291" dependencies = [ "anyhow", "glob", @@ -5961,16 +5964,17 @@ dependencies = [ [[package]] name = "tauri-plugin-updater" -version = "2.13.1" +version = "2.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cb0b2ea3e85ca287990d3859a29cc5cb18024240fd78f62e027fb7963670f18" +checksum = "d957abbcb3f9f6c76d22a3a0f012f30880640d0bccb5634d2b12a9937e4c872b" dependencies = [ - "base64 0.22.1", + "base64 0.23.1", "dirs", "flate2", "futures-util", "http", "infer", + "libc", "log", "minisign-verify", "osakit", @@ -6045,9 +6049,9 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.10.0" +version = "2.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dd257082deff79550de3409ed146104aeaf86fe38649615b04a304144939677" +checksum = "362ab21cd4cc713f2a02b1a9b5688198b1541cfb6907c4281e9190e0f0ef4aa3" dependencies = [ "anyhow", "brotli", @@ -6528,6 +6532,12 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" +[[package]] +name = "typed-path" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ce898823d8cd0f028662d2f349694b1af0a5cc9be83f1d213a00d3147445e1e" + [[package]] name = "typeid" version = "1.0.3" @@ -7699,14 +7709,20 @@ dependencies = [ [[package]] name = "zip" -version = "4.6.1" +version = "9.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caa8cd6af31c3b31c6631b8f483848b91589021b28fffe50adada48d4f4d2ed1" +checksum = "0700e6c427aff64acdbf02e85fbfd946c2ee12319d1af013092f3a2178914ff8" dependencies = [ - "arbitrary", + "constant_time_eq 0.6.1", "crc32fast", + "getrandom 0.4.3", "indexmap 2.14.2", + "libc", "memchr", + "nix", + "typed-path", + "windows-sys 0.61.2", + "zeroize", ] [[package]] diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 08f8429..e887c66 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -45,18 +45,18 @@ reqwest = { version = "0.13", features = ["json", "multipart"] } html-escape = "0.3" semver = "1" tempfile = "3" -rusqlite = { version = "0.40", features = ["bundled"] } +rusqlite = { version = "0.41", features = ["bundled"] } image = { version = "0.25", default-features = false, features = ["png", "jpeg", "webp", "gif", "bmp"] } gif = "0.14" percent-encoding = "2.3" -tauri-plugin-updater = "2.13.0" +tauri-plugin-updater = "2.14.1" tauri-plugin-process = "2.4.0" # Exact pin: the credential store backends must not change without a deliberate # upgrade and a run of the ignored native_store_round_trip test on every OS. keyring = { version = "=3.6.3", features = ["apple-native", "windows-native", "sync-secret-service"] } -pulldown-cmark = { version = "0.13.5", default-features = false } +pulldown-cmark = { version = "0.13.6", default-features = false } # Exact pin: the MCP SDK releases often; upgrade deliberately (#101). -rmcp = { version = "=3.8.0", default-features = false, features = ["server", "macros", "transport-async-rw"] } +rmcp = { version = "=3.9.0", default-features = false, features = ["server", "macros", "transport-async-rw"] } # Read the optimization guideline for more details: https://tauri.app/concept/size/#cargo-configuration [profile.release] diff --git a/src-tauri/deny.toml b/src-tauri/deny.toml index da94839..bc977ba 100644 --- a/src-tauri/deny.toml +++ b/src-tauri/deny.toml @@ -10,15 +10,7 @@ all-features = false # Tauri, iroh internals) are tracked through upstream updates. unmaintained = "workspace" yanked = "warn" -ignore = [ - # zip <9: extraction issues (SUID bits, symlinks). zip is only used by - # tauri-plugin-updater, which unpacks minisign-verified update bundles; no - # tauri-plugin-updater 2.x release depends on zip >= 9 yet. Revisit on each - # updater bump. - { id = "RUSTSEC-2026-0367", reason = "zip via tauri-plugin-updater; signed bundles only; no compatible fix" }, - { id = "RUSTSEC-2026-0368", reason = "zip via tauri-plugin-updater; signed bundles only; no compatible fix" }, - { id = "RUSTSEC-2026-0369", reason = "zip via tauri-plugin-updater; signed bundles only; no compatible fix" }, -] +ignore = [] [bans] multiple-versions = "warn"