Repository navigation
chore(deny): ignore unreachable quick-xml DoS advisories (macOS-only) - #1057
Merged
Merged
Conversation
RUSTSEC-2026-0194 (O(N^2) attribute check) and RUSTSEC-2026-0195 (unbounded NsReader allocation) were newly published against quick-xml 0.38.x, failing the cargo-deny advisories job repo-wide. quick-xml reaches us only via `plist`, a macOS/iOS-only dependency of netdev (netdev -> netwatch -> iroh), so it is not compiled into our Linux/musl deployment binaries, and even on macOS netdev feeds plist only local/trusted system data — never untrusted XML. No reachable fix: plist 1.9 still pulls quick-xml 0.39 (< 0.41), and iroh 1.0 / netwatch 0.19 / netdev 0.44 pin the chain. Ignore both with justification, mirroring the existing atomic-polyfill platform-conditional precedent. Re-evaluation tracked in #1056. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request updates deny.toml to suppress two transitive DoS vulnerabilities in quick-xml (RUSTSEC-2026-0194 and RUSTSEC-2026-0195). These are unreachable in the shipped Linux/musl binaries as they originate from a macOS/iOS-only transitive dependency. I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Coverage reportTotal: 83.20% (was 83.20%, ▲ +0.01%) — 41949/50417 lines No Rust files changed in this PR. History
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the repo-wide
cargo denyCI failure caused by two newly-published RustSec advisories againstquick-xml 0.38.x:NsReadernamespace allocation (OOM DoS)Both require
quick-xml >= 0.41.0.Why ignore rather than upgrade
quick-xmlreaches us only viaplist, whichnetdevdeclares as a macOS/iOS-only dependency ([target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.plist]; chainquick-xml → plist → netdev → netwatch → iroh 1.0). So:NsReaderinput.plist 1.9.0still pullsquick-xml 0.39.4(< 0.41), andiroh 1.0.0 / netwatch 0.19 / netdev 0.44version-pin the chain.This mirrors the existing
atomic-polyfillignore precedent (a platform-conditional dep not compiled on Linux targets, suppressed with a re-eval note). The section header comment is updated to note the last two entries are platform-gated DoS vulns rather than unmaintained notices.Verification
cargo deny check→advisories ok, bans ok, licenses ok, sources ok.Re-evaluation (drop the ignores once the chain reaches quick-xml >= 0.41, or if macOS/iOS becomes a shipped target) tracked in #1056.
🤖 Generated with Claude Code