Skip to content

fix(ci): ignore quick-xml RUSTSEC-2026-0194/0195 to unblock cargo-deny - #239

Merged
adamgell merged 1 commit into
mainfrom
fix/cargo-deny-quickxml-2026-advisories
Jul 10, 2026
Merged

fix(ci): ignore quick-xml RUSTSEC-2026-0194/0195 to unblock cargo-deny#239
adamgell merged 1 commit into
mainfrom
fix/cargo-deny-quickxml-2026-advisories

Conversation

@adamgell

Copy link
Copy Markdown
Owner

Problem

cargo deny check advisories (part of the required Check & Test (Rust) gate) fails on every run right now, turning CI red repo-wide and breaking the nightly build. Two newly-published advisories are the cause:

  • RUSTSEC-2026-0194 — quick-xml: quadratic run time checking a start tag for duplicate attribute names
  • RUSTSEC-2026-0195 — quick-xml: unbounded namespace-declaration allocation in NsReader (memory-exhaustion DoS)

This is why even pure-docs PRs (e.g. #238) show a failing Rust check.

Why ignore rather than upgrade

quick-xml is not a direct dependency. It enters only transitively on Linux via:

wayland-scanner -> wayland-client -> ... -> arboard -> tauri-plugin-clipboard-manager

It cannot be bumped to the fixed >=0.41.0 without an upstream Tauri/wayland update. This matches the existing policy in deny.toml, which already ignores the rest of the Tauri Linux transitive advisory tree.

Change

Add both advisories to the [advisories] ignore list. Verified locally: cargo deny check advisories -> advisories ok.

🤖 Generated with Claude Code

Two newly-published advisories for quick-xml (quadratic runtime on
duplicate attribute names, and unbounded namespace-declaration
allocation) now fail `cargo deny check advisories` on every run,
turning the required "Check & Test (Rust)" gate red repo-wide and
breaking the nightly build.

quick-xml enters only transitively on Linux via
wayland-scanner -> arboard -> tauri-plugin-clipboard-manager, so it
cannot be bumped without an upstream Tauri/wayland update. Ignore it
alongside the other Tauri Linux transitive advisories, matching the
existing policy in this file.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 10, 2026 18:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Rust supply-chain policy to unblock CI by ignoring two newly published RustSec advisories affecting transitive quick-xml dependencies pulled in via the Tauri Linux stack.

Changes:

  • Add RUSTSEC-2026-0194 to cargo-deny advisories ignore list.
  • Add RUSTSEC-2026-0195 to cargo-deny advisories ignore list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src-tauri/deny.toml
Comment on lines +25 to +26
"RUSTSEC-2026-0194", # quick-xml: quadratic runtime on duplicate attrs (via wayland-scanner, Tauri Linux clipboard)
"RUSTSEC-2026-0195", # quick-xml: unbounded namespace-declaration alloc (via wayland-scanner, Tauri Linux clipboard)
Comment thread src-tauri/deny.toml
Comment on lines +25 to +26
"RUSTSEC-2026-0194", # quick-xml: quadratic runtime on duplicate attrs (via wayland-scanner, Tauri Linux clipboard)
"RUSTSEC-2026-0195", # quick-xml: unbounded namespace-declaration alloc (via wayland-scanner, Tauri Linux clipboard)
@adamgell
adamgell merged commit 56face4 into main Jul 10, 2026
12 of 13 checks passed
@adamgell
adamgell deleted the fix/cargo-deny-quickxml-2026-advisories branch July 10, 2026 18:36
adamgell added a commit that referenced this pull request Jul 13, 2026
Expand the [Unreleased] section to cover every commit since v1.3.2:

- Log Text column auto-fit on load (this branch)
- CCM type="0" first-class Success severity + empty-type coercion fix (#248)
- clippy --all-targets enforcement (#245)
- Full vs Lite editions README docs (#241)
- quick-xml RUSTSEC-2026-0194/0195 advisory ignore (#239) and the
  Microsoft Security DevOps workflow
- signed nightly build channel, updater feed, and failure alerting (#236)
- a Dependencies subsection with exact Rust / frontend / GitHub Actions
  version deltas

Version numbers and behavioral claims were taken from the commit diffs,
not the commit subjects.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

2 participants