Skip to content

fix(deps): patch url origin stack overflow advisory - #1224

Closed
hyperpolymath wants to merge 1 commit into
mainfrom
fix/patch-url-advisory-20261123
Closed

hyperpolymath wants to merge 1 commit into
mainfrom
fix/patch-url-advisory-20261123

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Why

The current Rust lockfile selects url 2.5.8, affected by RUSTSEC-2026-0592. Both the dependency audit and cargo-deny correctly fail on this advisory, including on the otherwise passing neurosymbolic drafts #1222 and #1223.

Change

Run the canonical resolver command:

cargo update -p url@2.5.8 --precise 2.5.9

This updates url 2.5.8 → 2.5.9 and its required form_urlencoded 1.2.2 → 1.2.3 dependency. Only those packages' version/checksum lines change. Cargo supplied the checksums. All 481 package records retain their dependency edges; every other lockfile byte is unchanged after excluding those four replaced lines.

No source, manifest, workflow, policy, test or advisory exception changes. Note that .gitattributes declares Cargo.lock -diff; use git diff --text -- Cargo.lock to inspect the small text delta.

Executed verification

Base: d158aed87f76b93e4f291e995bef9f26559c7fb2. The workflows select floating stable; the task-scoped official toolchain resolved to Rust/Cargo 1.100.0. Cargo-deny 0.20.2 matches the earlier CI gate, and cargo-audit is 0.23.0.

  • cargo tree --locked --invert url: pass.
  • cargo check --workspace --locked: pass.
  • cargo test --workspace --locked: pass; 179 standard/doc tests and 41 custom-harness cases, plus CI simulation smoke; zero failures. Two existing external-database tests remain ignored.
  • cargo audit: pass, zero vulnerabilities. The unchanged baseline lockfile still fails with exactly the one URL vulnerability against the same advisory DB commit 43b5554d9d64ca91c8d0839b7150d4f8ee490cdc.
  • cargo deny --locked check: all four categories pass: advisories, bans, licenses and sources. Its external runtime config changes only the advisory-cache path to task scratch; the checked-in policy and every policy field are unchanged.
  • Diff whitespace and lockfile-scope checks: pass.

All five existing allowed audit warnings remain identical: rustix, astral-tokio-tar, chrono, proc-macro-error2 and unsafe-libyaml. They are not suppressed by this repair. Live external-service features were not enabled.

Integration boundary

This is a separate draft maintenance repair. It does not merge, alter or rerun #1222/#1223, and does not claim their old heads are now green. Hosted CI still needs to validate this exact commit. Once integrated through the normal review path, the dependent drafts can refresh onto the repaired baseline without mixing this dependency change into their behavioral review.

Final lockfile SHA-256: 7bc0fb4734af0681b10d4a37dee6e302d1c9004874db26c45594dbfd6602ccfe.

@gitnotebooks

gitnotebooks Bot commented Nov 23, 2026

Copy link
Copy Markdown

Review these changes at https://app.gitnotebooks.com/hyperpolymath/hypatia/pull/1224

@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: 3eaad1d4-23f1-420f-957f-806443edac82

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:45
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-23T09:45:55.172827Z
We couldn’t complete this review. Comment @codex review to try again.
10be2b9 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

Copy link
Copy Markdown
Owner Author

Closing as superseded: main already pins url 2.5.9 and form_urlencoded 1.2.3 in the root Cargo.lock, so this patch is redundant. Owner confirmed by selector.


Generated by Claude Code

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