chore(security): a DoS and resource-limit review, its tests, and SECURITY.md for 0.1

オープン
#61 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c
領域
security

調査の方向性

This is a design-level review, not a single fix. Start by reading SECURITY.md and the QUIC, HPACK and QPACK code paths the issue names, and map each resource limit (streams, header and table sizes, reassembly buffers, ACK ranges, connection IDs) to where it is enforced. Done means a written internal review, a test per DoS class run against the server, DoS tests wired into CI, and a current SECURITY.md. Confirm scope with maintainers before starting.

索引モデルが issue の本文から書いたものです。

説明

P1: first release

SECURITY.md says the code hasn't had an external security review. That doesn't have to block 0.1, but a network stack shipping its own QUIC, HPACK and QPACK in C should do two things.

Before the tag:

  • An internal review pass over the attack surface. Resource limits per connection: streams, header and table sizes, reassembly buffers, CONTINUATION floods, QPACK blocked-stream memory, ACK range counts, and connection-ID tables. The known HTTP/2 and HTTP/3 DoS classes: rapid reset (CVE-2023-44487), CONTINUATION flood, HPACK bomb, ping and settings floods, zero-window stalls. Anti-amplification and Retry token handling.
  • Tests for each DoS class, run against our server.
  • The release notes and SECURITY.md say plainly what has and hasn't been reviewed, and how to report a vulnerability.

After 0.1: an external review, and an application to OSS-Fuzz once the targets from #55 exist.

Done when: the internal pass is written up, every finding is fixed or filed, the DoS tests are in CI, and SECURITY.md is current.

主要言語
C
スター
0
フォーク
0
平均マージ
20時間 4分
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

public/cursed-http のほかの issue

public/cursed-http の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。