Skip to content

Bump cookie to 0.18.3 for RUSTSEC-2026-0594 - #1682

Merged
AnthonyRonning merged 1 commit into
masterfrom
fix/nightly-2026-11-23
Nov 23, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
fix/nightly-2026-11-23

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

What failed

Scheduled CI run 45198855438 on master 98c0a20d (Nov 23) failed deps-proxy and deps-research (and so ci-ok) on a new advisory, RUSTSEC-2026-0594. Tracked in the ci-nightly issue #1677. Yesterday's failures in the same issue (RUSTSEC-2026-0592, url) were fixed by #1678.

Root cause

cookie 0.18.1 drew the AES-GCM nonces for private cookies from rand::thread_rng(). After a fork(), the parent and child can reuse the same nonces. 0.18.3 gets them from the OS RNG instead.

Users were not exposed. Neither lockfile turns on cookie's private feature: the resolved crate depends only on time and version_check, with no aes-gcm or rand. In the proxy, cookie comes in only as a dev dependency through axum-test. In maple-research it comes through tauri.

Change

cargo update -p cookie@0.18.1 --precise 0.18.3 in:

  • proxy/Cargo.lock (audited by deps-proxy)
  • apps/maple-research/frontend/src-tauri/Cargo.lock (audited by deps-research)

No other Cargo.lock on master contains cookie. Each lockfile diff changes only cookie's version and checksum; no other versions moved.

Cooldown

Crate Version crates.io created_at Age
cookie 0.18.3 2026-11-23T07:45:48Z < 1 day

Cooldown bypassed for this one package as a security fix for RUSTSEC-2026-0594. 0.18.3 is the only fixed release. It added no new dependencies to either lockfile.

Local verification (macOS)

  • deps-proxy: cargo deny --manifest-path proxy/Cargo.toml --config proxy/deny.toml --all-features --locked check advisories bans, run in the ./proxy shell: advisories ok, bans ok.
  • deps-research: the same command for apps/maple-research/frontend/src-tauri/Cargo.toml with apps/maple-research/deny.toml, run in the .#ci shell: advisories ok, bans ok.
  • The pre-commit hook passed.

🤖 Generated with Claude Code


Start Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

cookie 0.18.1 drew AES-GCM nonces for private cookies from
rand::thread_rng(), so a process that forks can reuse nonces.
0.18.3 takes them from the OS RNG. Updated in the proxy and
maple-research lockfiles, the two that deps-proxy and
deps-research audit. No other versions changed.

cookie 0.18.3 was published 2026-11-23, inside the seven-day
cooldown; bypassed as a security fix.

Co-Authored-By: Claude <noreply@anthropic.com>
@AnthonyRonning
AnthonyRonning merged commit f3733a1 into master Nov 23, 2026
24 checks passed
@AnthonyRonning
AnthonyRonning deleted the fix/nightly-2026-11-23 branch November 23, 2026 19:22
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