fix(deps): bump h2, rtrb and chacha20 in the desktop lockfile - #28
Open
QuicksilverSlick wants to merge 1 commit into
Open
QuicksilverSlick wants to merge 1 commit into
QuicksilverSlick wants to merge 1 commit into
Conversation
cargo-deny on desktop/src-tauri (not covered by CI's Security job) reports: - RUSTSEC-2026-0258: h2 0.4.15 accepts unbounded empty DATA frames. Bump to 0.4.16, the version the root lockfile already uses. - RUSTSEC-2026-0274: rtrb 0.3.4 double free in ReadChunk::commit when an element's Drop panics (via rodio). Bump to the 0.3.5 backport. - chacha20 0.10.1 is yanked (via rand 0.10.2). Bump to 0.10.2. Only the three package entries change. `cargo update -p h2` also re-picked windows-sys for ~15 unrelated crates, so the h2 entry was applied by hand; h2 0.4.16 has the same dependency list as 0.4.15, the checksum matches the root lockfile, and `cargo metadata --locked` and `cargo fetch --locked` accept the result. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Summary
CI's Security job runs
cargo-deny checkagainst the root lockfile only. The desktop Tauri workspace (desktop/src-tauri, its ownCargo.lock) is never checked. Running cargo-deny 0.19.0 on it found two vulnerabilities and a yanked crate. This PR fixes all three with patch bumps. The PR changes only the lockfile.ReadChunk::commitwhen an element'sDroppanics)Upstream block/buzz has not bumped any of these in its desktop lockfile yet, so there is nothing to cherry-pick.
Not in this PR: RUSTSEC-2026-0285 (rustls). #27 already bumps it in both lockfiles, and this PR stays out of its way. Once both PRs merge, the desktop workspace has no vulnerability findings left.
Lockfile note:
cargo update -p h2 --precise 0.4.16also re-pickedwindows-sysversions for about 15 unrelated crates. To keep the diff to the three packages, I copied the h2 version and checksum in by hand. h2 0.4.16 has the same dependency list as 0.4.15, and its checksum matches the rootCargo.lock. rtrb and chacha20 went throughcargo update --precisewithout any extra changes.Unmaintained advisories (triage only, no fix available)
opus = "0.3"(direct; huddle jitter buffer decoder)user-idle 0.6.0(direct; macOS idle detection)Related issue
Follows up the desktop findings noted while fixing RUSTSEC-2026-0285 (#27). No existing issue found.
Testing
cargo-deny --manifest-path desktop/src-tauri/Cargo.toml check advisories: before, 3 vulnerabilities, 8 unmaintained and 1 yanked. After, only rustls (fix(deps): bump rustls to 0.23.45 for RUSTSEC-2026-0285 #27) and the 8 unmaintained remain.checkon the desktop workspace: bans, licenses and sources all pass.cargo metadata --locked,cargo fetch --locked, andcargo check --locked -p h2 -p rtrb -p chacha20@0.10.2 -p rand@0.10.2 -p rodio -p hyper -p reqwest@0.13.4pass on Windows (Rust 1.95.0).🤖 Generated with Claude Code