RUSTSEC-2026-0397: `OutBuffer::around_pos` exposes uninitialized memory
還沒有人認領這個 Issue。
評估
研究方向
該 issue 描述了 zstd-safe 的 OutBuffer::around_pos 中一個上游 soundness 缺陷;沒有提及此 repository 中的檔案或測試。首先檢查依賴項版本,並追蹤此 API 的使用位置。確認是否存在受影響的版本;若存在,則更新至已修正的版本並驗證依賴項變更,這樣就算完成。
由索引模型根據 Issue 內容生成。
描述
OutBuffer::around_posexposes uninitialized memory
| Details | |
|---|---|
| Status | unsound |
| Package | zstd-safe |
| Version | 7.2.4 |
| URL | https://github.com/gyscos/zstd-rs/commit/5827de2459b8ac430e87e860f00c7f3c13023833 |
| Date | 2026-10-16 |
OutBuffer::around_pos accepted a position past the initialized length of a
Vec<u8>. The next streaming call then marked everything before the
position as initialized, so safe code could read stale heap memory between
the vector's previous length and that position.
The flaw was corrected by zero-filling that gap.
See advisory page for additional details.
- 主要語言
- Rust
- 星號
- 2
- 分支
- 0
- 平均合併
- 1 天 5 小時
- 30 天內合併 PR
- 4
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
stackabletech/stackable-odbc-trino 的其他 Issue
-
難度 5/5 一週以上 新手友好度 15/100
-
難度 4/5 3-5 天 新手友好度 35/100
查看 stackabletech/stackable-odbc-trino 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 85/100
FalkorDB/FalkorDB#3597 · 1 則留言 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
needs triage
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
-
難度 2/5 1-3 小時 新手友好度 72/100
mozilla-services/syncstorage-rs#2715 ·
維護者通常 1 天內回覆