Skip to content

fix(deps): bump url to 2.5.9 for RUSTSEC-2026-0592 - #653

Merged
PastaPastaPasta merged 1 commit into
masterfrom
fix/url-rustsec-2026-0592
Nov 22, 2026
Merged

PastaPastaPasta merged 1 commit into
masterfrom
fix/url-rustsec-2026-0592

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Owner

Since RUSTSEC-2026-0592 was published today, cargo-deny fails on every branch. The advisory is a stack overflow in Url::origin() on nested blob: URLs, and it affects url 2.5.8; #649's latest run failed on it.

This PR runs cargo update -p url --precise 2.5.9, which also pulls in form_urlencoded 1.2.3. Only Cargo.lock changes. Locally, cargo deny --locked check advisories now reports "advisories ok".

🤖 Generated with Claude Code

cargo-deny fails on every branch since the advisory (stack overflow in
Url::origin() on nested blob: URLs) was published.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 1

  • Cargo.lock is excluded by !**/*.lock

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cc5a4d9b-640d-4ce2-b649-0e8994994b2a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@PastaPastaPasta PastaPastaPasta left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Verdict: approve

Lockfile-only bump that clears RUSTSEC-2026-0592. What I checked:

  • Diff scope: gh pr diff 653 touches only Cargo.lock: url 2.5.8 → 2.5.9 and form_urlencoded 1.2.2 → 1.2.3. Nothing else changed.
  • Checksums: both lockfile checksums match the sha256 of the crates downloaded from static.crates.io (f00cd240…b1a, afa48919…06e), and cargo fetch --locked succeeds.
  • Advisory: advisory-db lists patched = [">= 2.5.9"], so 2.5.9 is covered. Locally, cargo deny --locked check advisories → advisories ok, and the CI cargo-deny job passes.
  • Build: cargo check --workspace --locked passes in a private target dir.
  • Behaviour change: in 2.5.9, Url::origin() returns an opaque origin for blob: URLs whose inner scheme isn't http, https or file. The workspace calls origin() in forge-core storage egress, dg ipfs config/proxy, forge-relay sinks and forge-notify config. The egress allowlist already throws away "null" (opaque) origins, so this change can only make it refuse more URLs, never allow more. None of these paths takes blob: URLs in practice.

No findings.


🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.

@PastaPastaPasta
PastaPastaPasta merged commit 9a1dfaf into master Nov 22, 2026
31 checks passed
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