chore: document accepted glib advisory RUSTSEC-2024-0429#3
Merged
Conversation
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.
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
glib::VariantStrIteriterators, medium).glibis a transitive dep of Tauri's GTK3 Linux webview stack (gtk 0.18→gdk/webkit2gtk→wry 0.55→tauri 2.11.3). The fix is only inglib 0.20+, which requires GTK4; the archivedgtk 0.18crate hard-pinsglib = "0.18". The upstream GTK4 migration (wry#1530 / tao#1104) is still draft and unshipped, and we're already on the latest publishedtauri/wry/tao, so no dependency or framework bump changes this.tolerable_risk, and recorded the same exception in thecargo-audit(.cargo/audit.toml) andcargo-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 auditexits 0 withRUSTSEC-2024-0429no longer reported (allowed warnings 17 → 16)cargo update -p glibfinds no compatible upgrade (GTK3 stack pinsglib ^0.18)gh apiconfirms 0 open Dependabot alerts remainjust verifynot run — change is limited to dependency-policy config (.cargo/audit.toml,deny.toml); no Rust/WASM source touched