Track Tauri GTK upgrade to remediate glib advisory

未关闭
#663 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
linux, rust, tauri
领域
desktop, security

调研方向

Start with standalone/src-tauri/Cargo.lock and monitor Tauri releases for a v2 update that moves Linux GTK to a line resolving glib >= 0.20. When available, update the Tauri dependency, regenerate the Cargo disclosure, and verify the Linux standalone build; otherwise document the supported GTK4/v3 migration path instead of forcing glib.

由索引模型根据 Issue 内容生成。

描述

Problem

Dependabot alert 1 tracks glib 0.18.5 (GHSA-wrw7-89jp-8q8g / RUSTSEC-2024-0429)
in standalone/src-tauri/Cargo.lock. The affected crate is a Linux-only
transitive dependency:

tauri 2.11.5 -> gtk 0.18.2 -> glib 0.18.5

cargo update -p glib --precise 0.20.0 cannot resolve while Tauri declares
gtk = "0.18"; this is not a lockfile-only update. PR #662 fixes the separate
serde_with alert and deliberately leaves this one open.

Current upstream state

Tauri v2.11.5 still declares GTK 0.18 for Linux:

However, the earlier assumption that GTK3 bindings had no upgrade path is no
longer current. gtk3-rs 0.19.0 was released on 2026-09-08 and depends on the
gtk-rs-core 0.22 line, as recorded by its maintainer in the upstream Tauri
discussion. A Tauri upgrade from GTK 0.18 to 0.19 may therefore clear this
alert without waiting for Tauri 3, but it needs an upstream Tauri release and
compatibility validation.

Upstream tracking

Exit criteria

  • Monitor Tauri releases for a v2 update that moves the Linux GTK dependency to
    a line resolving glib >= 0.20.
  • When available, update the Tauri dependency, regenerate the Cargo disclosure,
    and verify the Linux standalone build.
  • If Tauri does not adopt the GTK3 0.19 line, evaluate its supported GTK4/v3
    migration path separately rather than forcing glib in Dormouse's lockfile.
主要语言
TypeScript
星标
5
派生
1
平均合并
18 小时 26 分钟
30 天内合并 PR
229

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

diffplug/dormouse 的其他 Issue

查看 diffplug/dormouse 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。