BUG/MEDIUM: h3: reject request with invalid header name
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 7 Dec 2022 13:31:42 +0000 (14:31 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 14 Dec 2022 10:34:18 +0000 (11:34 +0100)
commitd6fb7a0e0f3a79afa1f4b6fc7b62053c3955dc4a
treedd3a48b43cc7c3441e4e86c9aabc9f95160e11a5
parentf98b3b1107208499d8b8d70f63356507c81edecd
BUG/MEDIUM: h3: reject request with invalid header name

Reject request containing invalid header name. This concerns every
header containing uppercase letter or a non HTTP token such as a space.

For the moment, this kind of errors triggers a connection close. In the
future, it should be handled only with a stream reset. To reduce
backport surface, this will be implemented in another commit.

Thanks to Yuki Mogi from FFRI Security, Inc. for having reported this.

This must be backported up to 2.6.
src/h3.c