Skip to content

chore: document accepted glib advisory RUSTSEC-2024-0429#3

Merged
tiredithumans merged 1 commit into
mainfrom
chore/glib-advisory-ignore
Jun 17, 2026
Merged

chore: document accepted glib advisory RUSTSEC-2024-0429#3
tiredithumans merged 1 commit into
mainfrom
chore/glib-advisory-ignore

Conversation

@tiredithumans

Copy link
Copy Markdown
Owner

Summary

  • The only open Dependabot alert was glib 0.18.5 — RUSTSEC-2024-0429 / GHSA-wrw7-89jp-8q8g (unsound glib::VariantStrIter iterators, medium).
  • No upgrade path exists. glib is a transitive dep of Tauri's GTK3 Linux webview stack (gtk 0.18gdk/webkit2gtkwry 0.55tauri 2.11.3). The fix is only in glib 0.20+, which requires GTK4; the archived gtk 0.18 crate hard-pins glib = "0.18". The upstream GTK4 migration (wry#1530 / tao#1104) is still draft and unshipped, and we're already on the latest published tauri/wry/tao, so no dependency or framework bump changes this.
  • Impact is nil in shipped artifacts. GTK/glib is Linux-only and is never compiled into the shipped Windows (WebView2) or macOS (WKWebView) builds — the unsound path is unreachable in releases.
  • Dismissed the GitHub Dependabot alert as tolerable_risk, and recorded the same exception in the cargo-audit (.cargo/audit.toml) and cargo-deny (deny.toml) ignore lists — kept in sync per the audit.toml header, with the full rationale + drop condition (revisit when Tauri's Linux backend ships on glib ≥ 0.20).

Test plan

  • cargo audit exits 0 with RUSTSEC-2024-0429 no longer reported (allowed warnings 17 → 16)
  • Confirmed cargo update -p glib finds no compatible upgrade (GTK3 stack pins glib ^0.18)
  • gh api confirms 0 open Dependabot alerts remain
  • just verify not run — change is limited to dependency-policy config (.cargo/audit.toml, deny.toml); no Rust/WASM source touched

glib 0.18.5 carries RUSTSEC-2024-0429 / GHSA-wrw7-89jp-8q8g (unsound
`glib::VariantStrIter` iterators). It is a transitive dep of Tauri's GTK3
Linux webview stack (gtk 0.18 -> gdk/webkit2gtk -> wry -> tauri); the fix
lands only in glib 0.20+, which requires GTK4, and the archived gtk 0.18
crate hard-pins `glib = "0.18"`. The upstream GTK4 migration (wry#1530 /
tao#1104) is still draft and unshipped, so there is no published wry/tao/
tauri release that pulls glib >= 0.20.

GTK/glib is Linux-only and is never compiled into the shipped Windows
(WebView2) or macOS (WKWebView) builds, so the unsound path is unreachable
in released artifacts. The GitHub Dependabot alert is dismissed as
tolerable risk; record the same exception in the cargo-audit and cargo-deny
ignore lists (kept in sync per the audit.toml header) so the rationale and
drop condition live in-repo.
@tiredithumans tiredithumans merged commit c45f2de into main Jun 17, 2026
13 of 14 checks passed
@tiredithumans tiredithumans deleted the chore/glib-advisory-ignore branch June 17, 2026 19:47
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.

1 participant