-
Notifications
You must be signed in to change notification settings - Fork 105
chore(desktop): glib <0.20.0 advisory is blocked on a Tauri gtk-rs upgrade #383
Copy link
Copy link
Open
Labels
architectureHigh-level design decisions and technical directionHigh-level design decisions and technical directiondependenciesPull requests that update a dependency filePull requests that update a dependency filedesktop-appWindows, macOS, and Linux installed app workWindows, macOS, and Linux installed app workdocumentationDocumentation, README, guide, or text improvement.Documentation, README, guide, or text improvement.priority: lowNice-to-have improvementNice-to-have improvementresearchNeeds investigation, comparison, or design proposal before implementationNeeds investigation, comparison, or design proposal before implementationsecuritySecurity-sensitive maintenanceSecurity-sensitive maintenance
Description
Metadata
Metadata
Assignees
Labels
architectureHigh-level design decisions and technical directionHigh-level design decisions and technical directiondependenciesPull requests that update a dependency filePull requests that update a dependency filedesktop-appWindows, macOS, and Linux installed app workWindows, macOS, and Linux installed app workdocumentationDocumentation, README, guide, or text improvement.Documentation, README, guide, or text improvement.priority: lowNice-to-have improvementNice-to-have improvementresearchNeeds investigation, comparison, or design proposal before implementationNeeds investigation, comparison, or design proposal before implementationsecuritySecurity-sensitive maintenanceSecurity-sensitive maintenance
Context
The last non-torch Dependabot alert (#73, medium): glib
<0.20.0, GHSA-wrw7-89jp-8q8g — unsoundness in theIteratorandDoubleEndedIteratorimpls forglib::VariantStrIter.It cannot be fixed with a lockfile change or a Cargo override.
Why
frontend/src-tauri/Cargo.lockresolves glib 0.18.5 through this chain:The gtk-rs 0.18 series is what Tauri 2.x pins on Linux. glib 0.20 requires the gtk-rs 0.20 stack, which means a Tauri-side upgrade — forcing it via
[patch]would just fail to build against the 0.18 API surface.Actual exposure
Low. The advisory is unsoundness in
glib::VariantStrIter, which requires calling that iterator directly.find-desktopis a thin shell —Cargo.tomldeclares onlytauri,serde, andserde_json, and no code insrc-tauri/touches glib. The path is also Linux-only; the Windows and macOS desktop builds never pull the gtk stack at all.So this is a transitive advisory we carry, not a reachable bug in Find.
What to do
Nothing actionable today. This issue exists so the alert isn't mistaken for something that was overlooked.
Revisit when:
tauriinfrontend/src-tauri/Cargo.tomland confirm glib lands at >= 0.20.0If the alert becomes noisy in the meantime, dismiss it as
tolerable_riskwith a link back here — but do not dismiss it asinaccurate, because unlike the pyproject.toml batch cleaned up during the sweep, this one accurately describes the tree.Verify current state