RustSec GTK3 / rust-unic Advisory Disposition¶
This page records the reviewed RustSec dependency state tracked by #779.
Current state — 2026-10-05¶
Stable Tauri now provides a supported remediation for the rust-unic advisory family. From main@0d73e7afcbb9e4cc98817ef44f7fc8fb8e8771de, the repository's pinned Rust 1.97.1 toolchain resolves:
tauri 2.12.0tauri-build 2.7.1tauri-runtime 2.12.1tauri-runtime-wry 2.12.1tauri-utils 2.10.1wry 0.57.0urlpattern 0.6.0
The generated lockfile removes all five unic-* 0.9.0 packages without advisory suppression.
Pinned cargo-audit 0.22.2 against that lockfile reports 0 vulnerabilities and exactly 2 warning-kind findings:
RUSTSEC-2024-0370—proc-macro-error 1.0.4, unmaintained;RUSTSEC-2024-0429—glib 0.18.5, unsound.
Machine-readable resolver, MSRV, audit, hash, reachability, and platform evidence is in docs/evidence/rustsec-gtk3-unic-audit-2026-10-05.json.
Remediated advisory family¶
The stable Tauri 2.12 / tauri-utils 2.10.1 / urlpattern 0.6.0 graph removes:
RUSTSEC-2025-0075RUSTSEC-2025-0080RUSTSEC-2025-0081RUSTSEC-2025-0098RUSTSEC-2025-0100
These findings are removed from the reviewed baseline rather than ignored.
Remaining upstream risk¶
The two remaining findings resolve through the Linux GTK3/WebKitGTK dependency chain. Explicit target-scoped cargo tree checks show glib 0.18.5 and proc-macro-error 1.0.4 on x86_64-unknown-linux-gnu, while both are absent for aarch64-apple-darwin and x86_64-pc-windows-msvc.
Application source searches under src-tauri/src find no direct VariantStrIter or rust-unic API use. The remaining two warnings are retained as reviewed, transitive upstream risk and must not be suppressed. Revisit them when stable Tauri/Wry removes the GTK3 0.18 chain or application reachability changes.
MSRV and release-tool parity¶
tauri 2.12.0, tauri-utils 2.10.1, and tauri-cli 2.12.0 each declare Rust 1.90 as their minimum supported Rust version. The repository toolchain remains Rust 1.97.1, while the desktop crate's declared rust-version is updated from 1.78 to 1.90.
The reviewed Tauri CLI pin remains synchronized between scripts/dev-toolchain.env and .github/workflows/gui-release.yml. Release jobs continue to install the exact reviewed CLI version with --locked.
Required verification¶
This remediation does not weaken any gate. Required validation includes:
- locked Cargo metadata/check/test and GUI build/package lanes;
- Linux, macOS, and Windows desktop coverage as configured by repository workflows;
- pinned RustSec baseline validation;
- Dependency Review, CodeQL, Gitleaks, Semgrep, Sonar, and workflow policy;
- the aggregate Required PR Gate.
After merge, re-query OpenSSF Scorecard alert #53 against default-branch evidence. Do not dismiss or suppress the alert merely to improve its score. Keep #779 open while the two GTK/glib-chain findings remain unresolved.
Historical evidence¶
The pre-remediation seven-warning inventory and original bounded disposition remain preserved in Git history and docs/evidence/rustsec-gtk3-unic-audit-2026-09-09.json.
Additional advisory drift — 2026-10-20¶
The 2026-10-05 evidence above is a dated GTK3/rust-unic snapshot, not the current
complete warning inventory. A fresh pinned cargo-audit 0.22.2 scan of
main@d12e91f1 reports 0 vulnerability-kind findings and 5 warning-kind findings.
The original two GTK3-transitive advisories remain unchanged. Three newly published
informational / unmaintained advisories from the Linux DBus single-instance
dependency chain are now recorded separately in the strict reviewed baseline:
RUSTSEC-2026-0370—zvariant 5.15.0(unmaintained);RUSTSEC-2026-0371—zbus_names 4.3.4(unmaintained);RUSTSEC-2026-0372—zvariant_derive 5.15.0(unmaintained).
cargo tree --locked --offline -i traces these through
tauri-plugin-single-instance 2.5.2 -> zbus 5.19.0. Stable
tauri-plugin-single-instance still depends on zbus ^5.9; a dependency-only
version bump has not been shown to remove these advisories safely. RustSec
identifies these as unmaintained crates consolidated into zbus 6, not
exploitable vulnerability reports. Revisit on a supported stable Tauri plugin
migration and then requalify Linux DBus single-instance behavior and the
Linux/macOS/Windows GUI matrix. See issue #779 for the dated investigation.
The baseline continues to require an exact match of advisory ID, package, version, category and pinned scanner version. There are no advisory exclusions, ignore rules, CI relaxations, or forced unstable dependency migrations.