RUSTSEC-2026-0400: Use-after-free of a dictionary after a one-shot call on a context with an open stream
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
調査の方向性
The report describes a use-after-free in zstd-safe one-shot calls when a context has an unfinished stream, but it does not identify files or tests in this repository. First trace where the client uses DCtx or CCtx and how it mixes one-shot and streaming operations. Done means establishing whether this project can hit the reported pattern and, if so, adding coverage and handling it safely.
索引モデルが issue の本文から書いたものです。
説明
| Details | |
|---|---|
| Package | zstd-safe |
| Version | 5.0.2+zstd.1.5.2 |
| Warning | unsound |
| URL | https://github.com/gyscos/zstd-rs/commit/d34502a0ed07f80ab2aa4c65059578e0466f2467 |
| Patched Versions | >=8.2.0 |
| Unaffected Versions | <3.0.1 |
The one-shot DCtx and CCtx methods assumed the C library resets the
context, but it leaves an open stream as it is. When a stream was left
unfinished on a context, a one-shot call such as decompress_using_dict
could leave the context pointing at the dictionary borrowed for that call,
and the next streaming call resumed the stream against it after it was
freed: decompressed output then contained freed heap memory. On the
compression side, the stream resumed against the one-shot call's buffers.
This requires an application to use one context for both streaming and
one-shot calls without a reset in between. The flaw was corrected by
resetting the session after one-shot calls whenever a stream may be open.
- 主要言語
- Rust
- スター
- 10
- フォーク
- 8
- 平均マージ
- 6日 3時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bitcoindevkit/electrum_streaming_client のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
bitcoindevkit/electrum_streaming_client#68 ·
メンテナーはふだん 4 日以内に返信
-
RUSTSEC-2026-0386: `AsyncFd::new` and related constructors violate I/O safety対応中かも @noahjoeris が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
bitcoindevkit/electrum_streaming_client#57 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
bitcoindevkit/electrum_streaming_client#56 ·
メンテナーはふだん 4 日以内に返信
-
GetTx documentationオープンdocumentation
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
bitcoindevkit/electrum_streaming_client#29 ·
メンテナーはふだん 4 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 40/100
bitcoindevkit/electrum_streaming_client#67 ·
メンテナーはふだん 4 日以内に返信
bitcoindevkit/electrum_streaming_client の issue をすべて見る
似ている issue
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
servo/rust-smallvec#827 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nowledge-co/hawdb#1400 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
calcit-lang/caps#16 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
penso/herdr-gpui#934 ·
メンテナーはふだん 1 日以内に返信
-
🎉 Add Bossanovaオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
jaywcjlove/awesome-mac#4096 ·
メンテナーはふだん 1 日以内に返信