stackabletech / stackabletech/stackablectl

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

未關閉
#452 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
Rust
星號
10
分支
5
平均合併
4 小時 41 分鐘
30 天內合併 PR
4

描述

event-listener allows !Send tags to cross thread boundaries via StackSlot

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先閱讀公告詳細資訊,並檢查 event-listener 5.4.1 如何進入此儲存庫。找出涉及的相依性清單或 lockfile,並確認受影響版本的使用情況。完成的條件是已處理不安全的相依套件,且儲存庫不再解析出受影響的版本。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rust
領域
security
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
活躍
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。