Skip to content

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
mainfrom
joe.caparelli/bump-cookie-url-rustsec
Open

jcaparelli15 wants to merge 1 commit into
mainfrom
joe.caparelli/bump-cookie-url-rustsec

Conversation

@jcaparelli15

Copy link
Copy Markdown

Problem

The Audit check (cargo deny check advisories) fails on every PR because of two advisories added to the RustSec database on Nov 22 and Nov 23:

  • RUSTSEC-2026-0594: cookie private cookie nonces can repeat after fork(). Fixed in 0.18.3.
  • RUSTSEC-2026-0592: url stack overflow in Url::origin on nested blob: 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. Only bottlecap/Cargo.lock changes:

  • cookie 0.18.1 → 0.18.3, a direct dependency used to parse request cookies in appsec/processor.
  • url 2.5.8 → 2.5.9, through reqwest (including datadog-fips, dogstatsd and the libddwaf-sys build script).
  • form_urlencoded 1.2.2 → 1.2.3, which url 2.5.9 requires.

All three are patch releases.

Testing

Test 1: cargo deny advisories

Steps

  1. cargo deny check advisories on main's lockfile, then on this branch.

Result

main fails with RUSTSEC-2026-0592 and RUSTSEC-2026-0594. This branch reports advisories ok. The remaining advisory-not-detected warning for RUSTSEC-2026-0410 is handled in #1538.

Test 2: Unit and integration tests

Steps

  1. cargo test --workspace

Result

All tests pass, including the appsec tests that parse cookies.

🤖 Generated with Claude Code

…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
jcaparelli15 requested a review from a team as a code owner November 23, 2026 19:36
@jcaparelli15
jcaparelli15 requested review from lym953 and a balanced review from Copilot November 23, 2026 19:36

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.

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.

@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-23T19:36:56.299454Z 352d28e PR opened
ℹ️ 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.

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