Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

RUSTSEC-2026-0397: `OutBuffer::around_pos` exposes uninitialized memory

已關閉 適合新手
#33 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1 小時以內
新手友好度
60/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
rust
領域
security

研究方向

該 issue 描述了 zstd-safe 的 OutBuffer::around_pos 中一個上游 soundness 缺陷;沒有提及此 repository 中的檔案或測試。首先檢查依賴項版本,並追蹤此 API 的使用位置。確認是否存在受影響的版本;若存在,則更新至已修正的版本並驗證依賴項變更,這樣就算完成。

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

描述

OutBuffer::around_pos exposes 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

環境準備

從這裡開始

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

stackabletech/stackable-odbc-trino 的其他 Issue

查看 stackabletech/stackable-odbc-trino 的全部 Issue

相似的 Issue

更多 Rust Issue

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

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