Skip to content

fix(security): update url to 2.5.9 for RUSTSEC-2026-0592 - #1225

Open
hyperpolymath wants to merge 1 commit into
mainfrom
fix/security-url-2-5-9-20261123
Open

hyperpolymath wants to merge 1 commit into
mainfrom
fix/security-url-2-5-9-20261123

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Fix inherited security blocker #1219

Base: current main d158aed87f76b93e4f291e995bef9f26559c7fb2.
Scope: only tool-generated root Cargo.lock. No Cargo.toml, source, policy, audit allowlist or workflow edits; no security warnings suppressed.

Root cause and repair

Hypatia's existing Cargo.lock resolved url 2.5.8, affected by RUSTSEC-2026-0592 (stack overflow in Url::origin() with deeply nested blob: URL origins). This was present on main before review PRs #1216/#1220.

Executed Windows Cargo 1.99.1 with a separate freshly cloned, exact-main checkout:

cargo update --manifest-path <isolated-hypatia-main>/Cargo.toml -p url --precise 2.5.9
cargo metadata --manifest-path <isolated-hypatia-main>/Cargo.toml --no-deps --locked --format-version 1

The tool-generated lockfile's bytes were compared against the live main lockfile. Exactly four lines changed:

  • url 2.5.8 → 2.5.9, including registry checksum.
  • Its transitive form_urlencoded 1.2.2 → 1.2.3, including registry checksum.

Provenance: original Git blob 30d41a9fb72dfdfcbd4f73398649e7f2ccf4cb5c; generated lock blob d8c0f251afd6bea8ec7b4f48983eb58d1bba4234. No hand-edited package entries. The exact generated content was committed through GitHub's file API after a four-line diff check.

Verification and blocking acceptance

The original Windows shallow clone had a case-colliding DEED test fixture on NTFS; that fixture was not included in this PR, which modifies Cargo.lock alone. Windows host did not execute the full Rust workspace tests. The separate Rust CI run 45150576680 has passed on GitHub's Linux runner; the main CI and E2E gates remain independently required. This PR remains draft pending all required checks and human review.

Fixes #1219 only after security CI and merge.

@gitnotebooks

gitnotebooks Bot commented Nov 23, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

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: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 931f2ffd-3581-4fd4-8611-a8f92a3e4013

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

@linear-code
linear-code Bot marked this pull request as ready for review November 23, 2026 09:50
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T11:47:44.497031Z fa85b0c Draft marked ready
🔒 Security Review ✅ Completed 2026-11-23T11:49:31.209015Z fa85b0c Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as draft November 23, 2026 09:52
@hyperpolymath
hyperpolymath marked this pull request as ready for review November 23, 2026 11:45
hyperpolymath pushed a commit that referenced this pull request Nov 24, 2026
The Security workflow's cargo audit and cargo deny (advisories) fail on
main and on this branch: url 2.5.8 has a stack overflow in
Url::origin() on nested blob: URLs (RUSTSEC-2026-0592). This is the
same Cargo.lock change as #1225 (cargo update -p url --precise 2.5.9,
which also moves form_urlencoded 1.2.2 -> 1.2.3); it is a no-op once
#1225 lands on main.

Local: cargo deny check before: advisories FAILED; after: advisories,
bans, licenses, sources ok. cargo audit: 0 vulnerabilities.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J4QvDgzT72Tq2HTJmikyNg
hyperpolymath pushed a commit that referenced this pull request Nov 24, 2026
Security's cargo audit and cargo deny fail on main and here: url 2.5.8
carries RUSTSEC-2026-0592. Same Cargo.lock as #1225 and as f8332b4 on
#1195 (cargo update -p url --precise 2.5.9); a no-op once #1225 lands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J4QvDgzT72Tq2HTJmikyNg
hyperpolymath pushed a commit that referenced this pull request Nov 24, 2026
Security's cargo audit and cargo deny fail on main and here: url 2.5.8
carries RUSTSEC-2026-0592. Same Cargo.lock as #1225 and as f8332b4 on
#1195 (cargo update -p url --precise 2.5.9); a no-op once #1225 lands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J4QvDgzT72Tq2HTJmikyNg
(cherry picked from commit 5c6cb7b)
hyperpolymath pushed a commit that referenced this pull request Nov 24, 2026
Security's cargo audit and cargo deny fail on main and here: url 2.5.8
carries RUSTSEC-2026-0592. Same Cargo.lock as #1225 and as f8332b4 on
#1195 (cargo update -p url --precise 2.5.9); a no-op once #1225 lands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J4QvDgzT72Tq2HTJmikyNg
(cherry picked from commit 5c6cb7b)

This branch has not been deployed

No deployments
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.

security: resolve RUSTSEC-2026-0592 in url 2.5.8 without bypassing Rust audit gates

2 participants