Skip to content

fix(deps): bump ammonia to 4.1.8; ignore the zbus 5 companions' unmaintained flags - #524

Merged
AntonBabchenko merged 1 commit into
mainfrom
fix/deny-ammonia-zbus
Oct 17, 2026
Merged

AntonBabchenko merged 1 commit into
mainfrom
fix/deny-ammonia-zbus

Conversation

@AntonBabchenko

Copy link
Copy Markdown
Owner

Summary

cargo-deny has failed on main since 90ffc35 (2026-10-17, run 39055681840). That failure blocks ci-gate on every open PR (#518, #520–#523). Four new RustSec entries:

Crate Entry Action
ammonia 4.1.7 RUSTSEC-2026-0373, vulnerability: a quoted CSS url("") was matched case-sensitively, so URL filtering could be skipped Bump to 4.1.8. Lock-only --precise; the lock diff is only this package
zvariant 5.11.0 RUSTSEC-2026-0370, unmaintained (merged into zbus 6) ignore, with a reason
zbus_names 4.3.2 RUSTSEC-2026-0371, unmaintained ignore, with a reason
zvariant_derive 5.11.0 RUSTSEC-2026-0372, unmaintained ignore, with a reason

cargo-deny justification (the three ignores)

  • These are informational unmaintained flags with no known vulnerability and no safe upgrade. The crates were merged into zbus 6 as its wire module.
  • Linux D-Bus only, pulled in transitively: tauri-plugin-opener and tauri-plugin-single-instance → zbus 5.15 (cargo tree -i zvariant --target all). Lucerna has no direct dependency to move.
  • Added to deny.toml's existing, documented list of "unmaintained deep transitive" ignores (same pattern as the gtk-rs and unic families), grouped with the upstream that pulls them in and a "leaves when those plugins move to zbus 6" note.
  • The ignores name these three IDs only. A vulnerability in any of these crates is a different ID and still fails CI.
  • Approved by the maintainer on 2026-10-18. The auto-mode classifier stopped the first attempt as a CI bypass, so the decision was put to the maintainer.

Verification

  • cargo deny check (0.19.8, CI's pin) on the base and the new tree, outputs diffed: exactly those four errors are gone and nothing is added (advisories ok, bans ok, licenses ok, sources ok).
  • cargo metadata --locked passes.
  • CHANGELOG: the unreleased ammonia Security bullet now reads 4.1.4 → 4.1.8, with the ru twin updated too. v0.27.0 shipped 4.1.4.

Test plan

  • CI green, including cargo-deny and ci-gate
  • After merge: main CI green; queued PRs merge main in

🤖 Generated with Claude Code

…ntained flags

cargo-deny has failed on main since 90ffc35 (2026-10-17) on four new RustSec
entries, which blocks ci-gate on every PR.

- ammonia 4.1.7: RUSTSEC-2026-0373, "Missing case-insensitive matching for CSS
  url function" (quoted url("") escaped URL filtering). Patched in 4.1.8 on the
  4.1 line. Lock-only `--precise` bump; the lock diff is that one package.
- zvariant, zbus_names, zvariant_derive: RUSTSEC-2026-0370/0371/0372,
  informational "unmaintained" (merged into zbus 6 as its `wire` module), no
  safe upgrade. Linux D-Bus only, pulled in via tauri-plugin-opener and
  tauri-plugin-single-instance -> zbus 5.15, which we do not control. Added
  to deny.toml's documented "unmaintained deep transitive" ignore list with
  that reason; a vulnerability in any of them still fails CI. Approved by the
  maintainer on 2026-10-18.

`cargo deny check` (0.19.8) before/after, diffed: exactly those four errors
are gone, nothing new (advisories ok, bans ok, licenses ok, sources ok).
CHANGELOG: the unreleased ammonia Security bullet now reads 4.1.4 -> 4.1.8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AntonBabchenko
AntonBabchenko merged commit c3bcfa3 into main Oct 17, 2026
12 checks passed
@AntonBabchenko
AntonBabchenko deleted the fix/deny-ammonia-zbus branch October 17, 2026 23:11
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