Repository navigation
fix(deps): bump cookie to 0.18.3 and url to 2.5.9 for security advisories - #1540
Open
jcaparelli15 wants to merge 1 commit into
Open
jcaparelli15 wants to merge 1 commit into
jcaparelli15 wants to merge 1 commit into
Conversation
…ries Clears RUSTSEC-2026-0594 (cookie) and RUSTSEC-2026-0592 (url), which fail the cargo-deny Audit check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jcaparelli15
requested review from
lym953
and
a balanced review from Copilot
November 23, 2026 19:36
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Problem
The
Auditcheck (cargo deny check advisories) fails on every PR because of two advisories added to the RustSec database on Nov 22 and Nov 23:cookieprivate cookie nonces can repeat afterfork(). Fixed in 0.18.3.urlstack overflow inUrl::originon nestedblob:URLs. Fixed in 2.5.9.Neither affects the extension at runtime: it never forks or uses private cookies, and it never calls
Url::origin. The bump clears the check and the scanner findings.This PR
Runs
cargo update -p cookie -p url. Onlybottlecap/Cargo.lockchanges:cookie0.18.1 → 0.18.3, a direct dependency used to parse request cookies inappsec/processor.url2.5.8 → 2.5.9, throughreqwest(includingdatadog-fips,dogstatsdand thelibddwaf-sysbuild script).form_urlencoded1.2.2 → 1.2.3, whichurl2.5.9 requires.All three are patch releases.
Testing
Test 1: cargo deny advisories
Steps
cargo deny check advisoriesonmain's lockfile, then on this branch.Result
mainfails with RUSTSEC-2026-0592 and RUSTSEC-2026-0594. This branch reportsadvisories ok. The remainingadvisory-not-detectedwarning for RUSTSEC-2026-0410 is handled in #1538.Test 2: Unit and integration tests
Steps
cargo test --workspaceResult
All tests pass, including the appsec tests that parse cookies.
🤖 Generated with Claude Code