News for hackers. Stuff that matters.
Re:HTTP/2-exclusive threats caused by implementation flaws a... by oefrha on Friday August 06, 2021 @02:27AM (#28083928)
Out of the ecosystems I’m familiar with, Python application servers have terrible http2 support: neither gunicorn nor uwsgi supports it, and even new hotness like uvicorn is pretty far from it.

I don’t think Ruby is doing much better? Correct me if I’m wrong.

Re:HTTP/2-exclusive threats caused by implementation flaws a... by darkwater on Friday August 06, 2021 @02:41AM (#28083994)
But why would you need HTTP/2 perfect support in real world application server? They are never going to terminate the client traffic, they will speak with a load balancer which can speak HTTP/1.1 with them. Sure, if you are at webscale or even less you want everything on HTTP/2 for optimization sake. But in the rest of cases, even if you are in a solo project, you can easily enough put an nginx before it, or a cloud native solution, or haproxy or whatever.
Re:HTTP/2-exclusive threats caused by implementation flaws a... by tsimionescu on Friday August 06, 2021 @03:15AM (#28084184)
The whole point of this article is that proxies speaking HTTP2 with clients and HTTP1.1 with servers introduce new vulnerabilities. The author found such vulnerabilities in AWS ALB, several WAF solutions, F5 BigIP, and others.
Re:HTTP/2-exclusive threats caused by implementation flaws a... by darkwater on Friday August 06, 2021 @03:49AM (#28084357)
Yeah but serving traffic from an application server directly is probably even worse in plethora of other failure modes.

EDIT: and yes I understand that you should use http/2 on the LB and http/2 on the backend to get the best of both worlds.

EDIT2: anyway my opinion is that the general reaction to a security discovery like this one shouldn't be "let's stop using this tech immediately" but "let's get this patched ASAP"

Re:HTTP/2-exclusive threats caused by implementation flaws a... by takeda on Friday August 06, 2021 @04:23AM (#28084542)
No one was talking about serving from application directly. The issue is in scenario you are describing. Please read the article.
Re:HTTP/2-exclusive threats caused by implementation flaws a... by mariusor on Friday August 06, 2021 @03:55AM (#28084388)
Multiplexing API requests could be a thing if only HTTP2 pass through from proxies would be more popular.
Re:HTTP/2-exclusive threats caused by implementation flaws a... by LinuxBender on Saturday August 07, 2021 @01:14PM (#28100170)
I forwarded this discussion to the lead maintainer of HAProxy and he confirmed that HAProxy is not impacted by this. It doesn't surprise me. He implements things to the strictest interpretation of the specs.
Re:HTTP/2-exclusive threats caused by implementation flaws a... by JulianWasTaken on Friday August 06, 2021 @05:49AM (#28085076)
The building blocks are there. In Python we have the wonderful (and wonderfully sans-io) h2[1] by Cory Benfield. E.g. here's a Twisted h2-using implementation: https://python-hyper.org/projects/hyper-h2/en/stable/twisted...

h2: https://github.com/python-hyper/h2