aiortc / aioquic

QUIC and HTTP/3 implementation in Python
BSD 3-Clause "New" or "Revised" License
1.69k stars 237 forks source link

HTTP/3 headers need further validation #465

Closed lpisu98 closed 8 months ago

lpisu98 commented 9 months ago

I saw Issue 21 about header validation, and I want to suggest additional validations. Otherwise, request smuggling vulnerabilities can arise. The suggestions are all based on the HTTP/3 RFC specification, which refers to the HTTP/2 RFC specification (See RFC 9113 - Field Validity)

rthalley commented 8 months ago

Fixed, thanks!