Skip to content

fix(deps): patch tar & rkyv advisories, document glib unsoundness - #249

Merged
adamgell merged 1 commit into
mainfrom
fix/dependabot-tar-rkyv-glib
Jul 13, 2026
Merged

fix(deps): patch tar & rkyv advisories, document glib unsoundness#249
adamgell merged 1 commit into
mainfrom
fix/dependabot-tar-rkyv-glib

Conversation

@adamgell

Copy link
Copy Markdown
Owner

Resolves the fixable Dependabot alerts on the default branch and documents the one that is blocked upstream.

Fixed (lockfile bumps)

Alert Package Advisory Change
#15 tar GHSA-3pv8-6f4r-ffg2 — PAX header desynchronization 0.4.45 → 0.4.46
#14 rkyv GHSA-vfvv-c25p-m7mm — panic-safety bugs in InlineVec/SerVec clear enabling arbitrary code execution 0.8.15 → 0.8.16

Both are pure Cargo.lock patch bumps (rkyv reaches us transitively via faststr → sonic-rs → evtx).

Cannot fix — documented instead

Alert Package Advisory
#9 glib GHSA-wrw7-89jp-8q8g / RUSTSEC-2024-0429 — VariantStrIter unsoundness

glib is a Linux-only transitive dependency of Tauri's GTK backend: glib 0.18 ← gtk 0.18 ← tauri 2.11.5. gtk 0.18 requires glib ^0.18, so the patched glib 0.20 is unreachable until Tauri adopts gtk-rs 0.20. The advisory is unsoundness (warn-level), so it does not gate CI. It's recorded as an accepted, upstream-blocked advisory in src-tauri/deny.toml and .cargo/audit.toml, alongside the existing GTK-stack entries. The alert is being dismissed as tolerable risk; it will clear automatically when a future Tauri release moves to glib 0.20.

Verification

  • cargo check — clean (tar 0.4.46 rebuilt via tauri-plugin-updater)
  • cargo audit (repo root) — exit 0, glib now among suppressed warnings
  • cargo deny check (from src-tauri, as CI runs it) — advisories/bans/licenses/sources all ok

🤖 Generated with Claude Code

Resolves the fixable Dependabot alerts and records the one blocked upstream:

- tar 0.4.45 -> 0.4.46: PAX header desynchronization (GHSA-3pv8-6f4r-ffg2)
- rkyv 0.8.15 -> 0.8.16: panic-safety bugs in InlineVec/SerVec clear that
  enable arbitrary code execution (GHSA-vfvv-c25p-m7mm)

glib 0.18 (GHSA-wrw7-89jp-8q8g / RUSTSEC-2024-0429, VariantStrIter
unsoundness) is patched in glib 0.20, but gtk 0.18 -- pinned transitively by
tauri 2.11 on Linux -- requires glib ^0.18, so it cannot be bumped until Tauri
adopts gtk-rs 0.20. It is warn-level (unsoundness) and does not gate CI;
documented as an accepted, upstream-blocked advisory in src-tauri/deny.toml
and .cargo/audit.toml alongside the existing GTK-stack entries.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 13, 2026 15:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request addresses dependency security advisories by updating Rust lockfile-resolved crate versions and documenting an upstream-blocked advisory in the RustSec/audit configuration so CI can pass while risk is tracked.

Changes:

  • Bumps tar to 0.4.46 and rkyv/rkyv_derive to 0.8.16 via Cargo.lock updates.
  • Adds RUSTSEC-2024-0429 (glib VariantStrIter unsoundness) to cargo-deny and cargo-audit ignore lists with explanatory comments.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
src-tauri/deny.toml Adds RUSTSEC-2024-0429 to the cargo-deny ignore list with rationale.
Cargo.lock Updates resolved dependency versions, including tar and rkyv (plus additional resolution churn).
.cargo/audit.toml Documents/ignores upstream-blocked advisories so cargo audit remains green.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src-tauri/deny.toml
Comment on lines 12 to 16
"RUSTSEC-2024-0414", # gdk-pixbuf: GTK3 unmaintained (Tauri Linux)
"RUSTSEC-2024-0415", # gio: GTK3 unmaintained (Tauri Linux)
"RUSTSEC-2024-0416", # glib: GTK3 unmaintained (Tauri Linux)
"RUSTSEC-2024-0429", # glib: VariantStrIter unsoundness, fixed in glib 0.20; blocked by Tauri's gtk-rs 0.18 pin (Tauri Linux)
"RUSTSEC-2024-0417", # pango: GTK3 unmaintained (Tauri Linux)
@adamgell
adamgell merged commit 47fcc0b into main Jul 13, 2026
16 checks passed
@adamgell
adamgell deleted the fix/dependabot-tar-rkyv-glib branch July 13, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants