test(fuzz): libFuzzer targets for the QUIC, HTTP/2, HTTP/3, HPACK and QPACK decoders
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c, github-actions
- 領域
- networking, testing-qa
調査の方向性
Start with the existing HTTP/1 targets in fuzz/fuzz_fastparse.c and fuzz/fuzz_chunked.c, and the make fuzz target, to see how a libFuzzer target is built and run under ASan and UBSan. Then read the entry points in hpack.h, qpack.h, h2.h, h3.h and quic.h to choose one decoder for a first target. Done means that target runs in CI, with its seed corpus and any crashes saved under fuzz/regressions/. The whole-connection targets and the remaining decoders are larger follow-up work.
索引モデルが issue の本文から書いたものです。
説明
libFuzzer only covers the HTTP/1 parsers today (fuzz/fuzz_fastparse.c, fuzz_fbparse.c, fuzz_batchparse.c, fuzz_chunked.c). Nothing fuzzes the other decoders of untrusted network input, and those are where memory-safety bugs in a C network stack would be:
quic.h: packet header and frame decoding, transport parameters, ACK ranges, stream reassemblyhpack.handqpack.h: header block decoding, the dynamic tables, and QPACK encoder/decoder stream instructionsh2.handh3.h: frame parsing and the stream state machines
Plan:
- One libFuzzer target per decoder, with seed corpora taken from the existing tests' traffic (nghttp2, nghttp3 and ngtcp2 runs).
- A whole-connection target: an established
quic_conn(keys from a fixed handshake) fed fuzzed decrypted payloads, so the frame handlers are reached past packet protection. The same forh2_recvandh3_recv. - Run them in CI with the HTTP/1 targets (
make fuzz), and add their crashes tofuzz/regressions/.
Done when: every decoder above has a target running in CI under ASan and UBSan, and a long local run (hours per target) finds nothing open.
- 主要言語
- C
- スター
- 0
- フォーク
- 0
- 平均マージ
- 20時間 4分
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
public/cursed-http のほかの issue
-
P0: release blocker
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
public/cursed-http#56 ·
メンテナーはふだん 1 日以内に返信
-
P1: first release
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
public/cursed-http#61 ·
メンテナーはふだん 1 日以内に返信
-
P0: release blocker
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
public/cursed-http#60 ·
メンテナーはふだん 1 日以内に返信
-
documentation P0: release blocker
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
public/cursed-http#59 ·
メンテナーはふだん 1 日以内に返信
-
P0: release blocker
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
public/cursed-http#58 ·
メンテナーはふだん 1 日以内に返信
public/cursed-http の issue をすべて見る
似ている issue
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
xerial/sqlite-jdbc#1515 ·
メンテナーはふだん 1 日以内に返信
-
macOS 菜单栏托盘图标保留橙色,与系统单色图标风格不一致対応中かも @xhugoliu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
YizhengWw/HachimoDock#56 · コメント 1 件 ·
-
compiler-rt:asan
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
llvm/llvm-project#242921 ·
メンテナーはふだん 1 日以内に返信
-
Missing gcc __builtin_stdc_bit_width/floor/ceil signature makes intellisense wrongly report error 70オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
microsoft/vscode-cpptools#14874 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
BasedHardware/omi#25431 ·
メンテナーはふだん 1 日以内に返信