Skip to content

chore(deny): accept quick-xml DoS advisories RUSTSEC-2026-0194/0195 (no upstream path) - #330

Merged
jensholdgaard merged 1 commit into
mainfrom
deny-ignore-quickxml-rustsec
Jul 2, 2026
Merged

chore(deny): accept quick-xml DoS advisories RUSTSEC-2026-0194/0195 (no upstream path)#330
jensholdgaard merged 1 commit into
mainfrom
deny-ignore-quickxml-rustsec

Conversation

@jensholdgaard

Copy link
Copy Markdown
Owner

What

CI is red repo-wide: two RustSec advisories published against quick-xml 0.39.4
today fail the cargo deny gate on every PR (first seen on #329, which touches
only a workflow + docs):

  • RUSTSEC-2026-0194 — quadratic duplicate-attribute check in Attributes
  • RUSTSEC-2026-0195 — unbounded namespace-declaration allocation in NsReader

Both are DoS-class. Patched in quick-xml >= 0.41.0.

Why ignore instead of upgrade

No upgrade path exists anywhere in the ecosystem right now:

  • datafusion 53.1 pins object_store ^0.13 (0.14 is semver-incompatible);
  • even object_store 0.14.0 pins quick-xml ^0.40.1 — still below the patch.

cargo update -p quick-xml is a no-op under these constraints.

Risk assessment

Low. quick-xml is used only by object_store to parse XML responses from the
operator-configured S3 endpoint — trusted infrastructure the operator points
Ourios at, not attacker-controlled input. Impact is denial of service, not
corruption or RCE.

The deny.toml entry carries the full reason and the removal condition: drop
the ignores when an object_store release takes quick-xml >= 0.41 — most
likely via the DataFusion/Arrow upgrade (epic #314).

Verification

cargo deny check → advisories ok, bans ok, licenses ok, sources ok.

🤖 Generated with Claude Code

…no upstream path)

Fresh RustSec advisories on quick-xml 0.39.4 (quadratic duplicate-attribute
check; unbounded namespace-declaration allocation — both DoS-class) fail the
cargo-deny gate on every PR. No upgrade path exists anywhere in the ecosystem:
datafusion 53.1 pins object_store ^0.13, and even object_store 0.14 pins
quick-xml ^0.40 — both below the patched >=0.41.

Accept both with a documented reason: quick-xml only parses XML responses from
the operator-configured S3 endpoint (trusted infrastructure), and the impact is
denial of service, not corruption or RCE. The ignore notes the removal
condition — an object_store release on quick-xml >=0.41, likely via the
DataFusion/Arrow upgrade (epic #314).

Verified: `cargo deny check` → advisories ok, bans ok, licenses ok, sources ok.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jensholdgaard
jensholdgaard requested a review from Copilot July 2, 2026 16:02
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@jensholdgaard, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 49 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: e3a3d5c1-bb1d-40d9-96ad-5cebd3e6180a

📥 Commits

Reviewing files that changed from the base of the PR and between 6bd76d6 and 404e27d.

📒 Files selected for processing (1)
  • deny.toml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch deny-ignore-quickxml-rustsec

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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

Unblocks the repo-wide cargo deny gate by explicitly accepting two newly published RustSec DoS advisories affecting quick-xml that are currently unavoidable due to upstream dependency pinning (via datafusionobject_store).

Changes:

  • Added RUSTSEC-2026-0194 and RUSTSEC-2026-0195 to cargo-deny’s advisories ignore list.
  • Documented the justification and the concrete removal condition directly next to the ignore entries.

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

@jensholdgaard
jensholdgaard merged commit 44cc4f7 into main Jul 2, 2026
21 checks passed
@jensholdgaard
jensholdgaard deleted the deny-ignore-quickxml-rustsec branch July 2, 2026 16:07
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