Skip to content

fix: update event-listener for RUSTSEC-2026-0221 - #3

Merged
murillo-consulting merged 1 commit into
mainfrom
fix/event-listener-rustsec-2026-0221
Aug 7, 2026
Merged

murillo-consulting merged 1 commit into
mainfrom
fix/event-listener-rustsec-2026-0221

Conversation

@murillo-consulting

@murillo-consulting murillo-consulting commented Aug 7, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • update transitive event-listener from 5.4.1 to 5.4.2 in Cargo.lock
  • remove the no-longer-needed concurrent-queue edge from that lock entry

Root cause

event-listener 5.4.1 is affected by RUSTSEC-2026-0221: StackSlot implemented Send and Sync without requiring the tag type to be Send, allowing a !Send tag to cross thread boundaries.

Impact

This applies the upstream soundness fix without changing Gate's public API or direct dependency ranges. The vulnerable package is transitive through moka / async-lock.

Validation

  • cargo update -p event-listener --precise 5.4.2 completed
  • cargo tree -i event-listener@5.4.1 confirmed the affected dependency chain before the update
  • git diff --check passed
  • full local tests could not complete on Windows because the existing aws-lc-sys build requires unavailable native tooling (NASM/CMake)
  • repository CI passed all 27 checks, including Clippy, tests, feature powersets, CodeQL, coverage, and Gitleaks

Rollback

Revert commit 4250c9e to restore the previous lockfile.

Closes #1

@murillo-consulting
murillo-consulting marked this pull request as ready for review August 7, 2026 20:50
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@murillo-consulting
murillo-consulting merged commit 4055549 into main Aug 7, 2026
35 checks passed
@murillo-consulting
murillo-consulting deleted the fix/event-listener-rustsec-2026-0221 branch August 7, 2026 20:51
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.

RUSTSEC-2026-0221: event-listener allows !Send tags to cross thread boundaries via StackSlot

1 participant