pgjones / hypercorn

Hypercorn is an ASGI and WSGI Server based on Hyper libraries and inspired by Gunicorn.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP/2 Rapid Reset

DoYouKnowWhoElse opened this issue · comments

Any update?

This is urgent to be patched to be honest.

I suggest look into this function to see if sans-io based protocol parser actually handles this issue.

I think the correct fix is to apply a max keep alive requests. I have a patch being tested locally.

Note though I don't think Hypercorn itself is that vulnerable as resetting streams quickly isn't likely to be that costly.

Mitigation in 926c430