RUSTSEC-2026-0221: `event-listener` allows `!Send` tags to cross thread boundaries via `StackSlot`
還沒有人認領這個 Issue。
評估
研究方向
首先閱讀公告詳細資訊,並檢查 event-listener 5.4.1 如何進入此儲存庫。找出涉及的相依性清單或 lockfile,並確認受影響版本的使用情況。完成的條件是已處理不安全的相依套件,且儲存庫不再解析出受影響的版本。
由索引模型根據 Issue 內容生成。
描述
event-listenerallows!Sendtags to cross thread boundaries viaStackSlot
| Details | |
|---|---|
| Status | unsound |
| Package | event-listener |
| Version | 5.4.1 |
| URL | https://github.com/smol-rs/event-listener/pull/163 |
| Date | 2026-07-13 |
Affected versions of event-listener unconditionally implement Send and
Sync for StackSlot<'_, T>, the stack-allocated listener type created
by the listener! macro.
This allows a !Send tag type set via Event::with_tag to be moved to
another thread and accessed via StackSlot::wait, causing a data race in safe
code.
See advisory page for additional details.
- 主要語言
- Rust
- 星號
- 10
- 分支
- 5
- 平均合併
- 4 小時 41 分鐘
- 30 天內合併 PR
- 4
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
stackabletech/stackablectl 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
stackabletech/stackablectl#456 ·
-
難度 4/5 3-5 天 新手友好度 45/100
stackabletech/stackablectl#444 ·
-
難度 5/5 一週以上 新手友好度 35/100
stackabletech/stackablectl#419 ·
-
難度 4/5 3-5 天 新手友好度 35/100
stackabletech/stackablectl#413 ·
-
難度 3/5 1-2 天 新手友好度 40/100
stackabletech/stackablectl#412 ·
查看 stackabletech/stackablectl 的全部 Issue
相似的 Issue
-
todo:perf
難度 2/5 1-3 小時 新手友好度 84/100
-
難度 2/5 1-3 小時 新手友好度 88/100
-
ACP agents get no MCP servers when the thread is created before the project's first worktree loads 未關閉state:needs triage
難度 2/5 1-3 小時 新手友好度 88/100
zed-industries/zed#64611 ·
-
難度 2/5 1-3 小時 新手友好度 74/100
ontola/atomic-server#1625 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
objectionary/phie#154 ·