Skip to content

deny.toml: re-evaluate quick-xml RUSTSEC-2026-0194/0195 ignores #1056

Closed

Description

@yigitdot

Two RustSec advisories are currently ignored in deny.toml:

  • RUSTSEC-2026-0194 — quick-xml O(N²) duplicate-attribute check (CPU-exhaustion DoS)
  • RUSTSEC-2026-0195 — quick-xml unbounded NsReader namespace allocation (OOM DoS)

Both require quick-xml >= 0.41.0.

Why ignored (for now)

quick-xml reaches us only through plist, which netdev declares as a macOS/iOS-only dependency ([target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.plist]; chain netdev → netwatch → iroh 1.0). It is not compiled into our Linux/musl deployment binaries — cargo-deny flags it only because it audits the whole cross-platform graph. Even on macOS, netdev feeds plist only local/trusted system network data, never attacker-controlled XML / NsReader input.

No reachable upgrade today: latest plist 1.9.0 still pulls quick-xml 0.39.4 (< 0.41), and iroh 1.0.0 / netwatch 0.19 / netdev 0.44 version-pin the chain.

When to drop the ignores

  • When the iroh → netwatch → netdev → plist chain reaches quick-xml >= 0.41.0 (then cargo update -p quick-xml and remove both IDs), or
  • if macOS/iOS ever becomes a shipped/deployed target (the exposure calculus changes).

At that point cargo deny check advisories will report the removed IDs as advisory-not-detected if the dep is gone, or pass if upgraded.

Activity

  1. added
    kind:security
    dependencies
    on Jul 2, 2026
  2. yigitdot commented on Jul 6, 2026

    @yigitdot
    ContributorAuthor

    While fixing this (bumping plist 1.8.0 → 1.10.0 to pull the fixed quick-xml 0.41.0), running cargo deny check advisories surfaced a separate, newly-published advisory unrelated to quick-xml:

    • RUSTSEC-2026-0204 — crossbeam-epoch 0.9.18 invalid pointer dereference in the fmt::Pointer impl for Atomic/Shared. Chain: crossbeam-epoch → moka → hickory-resolver → iroh. Fix: cargo update -p crossbeam-epoch (→ ≥ 0.9.20).

    crossbeam-epoch 0.9.18 is already in the committed Cargo.lock (untouched by the plist bump), so this advisory would fail the deny gate on main independently — it simply wasn't in the RustSec DB at the last CI run. Because it trips the same advisories gate this issue is about, the crossbeam-epoch bump is being folded into the same PR so cargo deny check advisories returns fully green. Noting it here for the audit trail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dependencieskind:security

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions