test(fuzz): libFuzzer targets for the QUIC, HTTP/2, HTTP/3, HPACK and QPACK decoders
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c, github-actions
- Ambito
- networking, testing-qa
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C
- Stelle
- 0
- Fork
- 0
- Merge medio
- 20h 4m
- PR unite (30g)
- 25
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di public/cursed-http
-
P0: release blocker
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
public/cursed-http#56 ·
I maintainer di solito rispondono entro 1 giorno
-
P1: first release
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
public/cursed-http#61 ·
I maintainer di solito rispondono entro 1 giorno
-
P0: release blocker
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
public/cursed-http#60 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation P0: release blocker
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
public/cursed-http#59 ·
I maintainer di solito rispondono entro 1 giorno
-
P0: release blocker
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
public/cursed-http#58 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di public/cursed-http
Issue simili
-
triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
xerial/sqlite-jdbc#1515 ·
I maintainer di solito rispondono entro 1 giorno
-
macOS 菜单栏托盘图标保留橙色,与系统单色图标风格不一致Forse già presa @xhugoliu l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
YizhengWw/HachimoDock#56 · 1 commento ·
-
[compiler-rt][ASan][Darwin] dispatch_apply_f interceptor leaks its context (24 bytes per call)Apertacompiler-rt:asan
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
llvm/llvm-project#242921 ·
I maintainer di solito rispondono entro 1 giorno
-
Missing gcc __builtin_stdc_bit_width/floor/ceil signature makes intellisense wrongly report error 70Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
microsoft/vscode-cpptools#14874 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
FujiNetWIFI/fujinet-firmware#2401 ·
I maintainer di solito rispondono entro 1 giorno