test(fuzz): libFuzzer targets for the QUIC, HTTP/2, HTTP/3, HPACK and QPACK decoders
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- c, github-actions
- Área
- networking, testing-qa
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 20 h 4 min
- PR fusionados (30 d)
- 25
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de public/cursed-http
-
P0: release blocker
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
public/cursed-http#56 ·
Los mantenedores suelen responder en 1 día
-
P1: first release
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
public/cursed-http#61 ·
Los mantenedores suelen responder en 1 día
-
P0: release blocker
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
public/cursed-http#60 ·
Los mantenedores suelen responder en 1 día
-
documentation P0: release blocker
Dificultad 3/5 1-2 días Aptitud para principiantes 42/100
public/cursed-http#59 ·
Los mantenedores suelen responder en 1 día
-
P0: release blocker
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
public/cursed-http#58 ·
Los mantenedores suelen responder en 1 día
Todos los issues de public/cursed-http
Issues similares
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
xerial/sqlite-jdbc#1515 ·
Los mantenedores suelen responder en 1 día
-
macOS 菜单栏托盘图标保留橙色,与系统单色图标风格不一致Posiblemente ocupada @xhugoliu la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
YizhengWw/HachimoDock#56 · 1 comentario ·
-
[compiler-rt][ASan][Darwin] dispatch_apply_f interceptor leaks its context (24 bytes per call)Abiertocompiler-rt:asan
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
llvm/llvm-project#242921 ·
Los mantenedores suelen responder en 1 día
-
Missing gcc __builtin_stdc_bit_width/floor/ceil signature makes intellisense wrongly report error 70Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
microsoft/vscode-cpptools#14874 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
BasedHardware/omi#25431 ·
Los mantenedores suelen responder en 1 día