News for hackers. Stuff that matters.
Re:Pre-auth RCE in Nginx HTTP/2 handling by verst on Wednesday November 18, 2026 @12:08PM (#50548865)
Disabling http2 can be a big deal. My service is primarily made up of gRPC APIs. Not an option for me to disable http2. Luckily I'm not using nginx at the moment - but I easily could have been.
Re:Pre-auth RCE in Nginx HTTP/2 handling by meowface on Wednesday November 18, 2026 @12:50PM (#50549561)
It's patched so anyone can upgrade to the latest nginx to fix it, thankfully. I agree that just shutting off HTTP/2 is probably non-ideal for a lot of web services.
Re:Pre-auth RCE in Nginx HTTP/2 handling by black3r on Wednesday November 18, 2026 @12:58PM (#50549685)
Neither Ubuntu nor Debian have released patches yet, so if you're using one of these mainstream distributions and install nginx through the distro's package manager, you can't easily "upgrade to the latest nginx" yet. You can however disable HTTP/2 for now.
Re:Pre-auth RCE in Nginx HTTP/2 handling by ChadNauseam on Wednesday November 18, 2026 @01:53PM (#50550467)
[delayed]
Re:Pre-auth RCE in Nginx HTTP/2 handling by sippingabonedry on Wednesday November 18, 2026 @02:03PM (#50550582)
Their package manager and security response is the only reason to use (put up with?) their OS.

If I wanted to build my own software from source every time I'd be running Solaris like a virile man from 2004.

Re:Pre-auth RCE in Nginx HTTP/2 handling by nsoam on Wednesday November 18, 2026 @02:08PM (#50550640)
...or you could use Gentoo.
Re:Pre-auth RCE in Nginx HTTP/2 handling by antonvs on Wednesday November 18, 2026 @02:21PM (#50550776)
Keep the flame alive!
Re:Pre-auth RCE in Nginx HTTP/2 handling by robotmay on Wednesday November 18, 2026 @02:40PM (#50551064)
Embrace true chaos and let an LLM do the config file merges for you in Portage.
Re:Pre-auth RCE in Nginx HTTP/2 handling by bombcar on Wednesday November 18, 2026 @06:52PM (#50554035)
LLMs love gentoo they go hog wild.

Which may be good or bad.

Re:Pre-auth RCE in Nginx HTTP/2 handling by mikepurvis on Wednesday November 18, 2026 @02:16PM (#50550720)
NixOS is probably the best modern option for those who crave building the whole world from source.
Re:Pre-auth RCE in Nginx HTTP/2 handling by prennert on Wednesday November 18, 2026 @02:32PM (#50550942)
yep, already deployed fixes to our fleet (NixOS for the win)
Re:Pre-auth RCE in Nginx HTTP/2 handling by kd913 on Wednesday November 18, 2026 @05:44PM (#50553418)
Or just use it in a podman quadlet?

stable-alpine-slim docker iamge is only 14MB?

Re:Pre-auth RCE in Nginx HTTP/2 handling by usr1106 on Wednesday November 18, 2026 @09:38PM (#50555376)
Alpine recently had https://sshhole.com/

Not saying that thie image is affected (I don't know), but small footprint does not guarantee security either. It can hit systems of any complexity these days.

Re:Pre-auth RCE in Nginx HTTP/2 handling by xorcist on Wednesday November 18, 2026 @02:14PM (#50550693)
Both the Debian and the Red Hat packaging systems are awfully convenient ways to build software from source. It has to be, that's package maintainers do daily. They will install all dependencies, apply the distribution specific patches, build, and package in one operation.

Should your distributor fall of the face of the Earth and you still need to patch software, it is often the fastest way to take the source package, put the security patch in the patch directory, and run.

There is more it, such as versioning it between the last release but below the official upgrade so it's convenient when the offical one comes along, and preparing keys if you require signatures, but that's basically it.

Re:Pre-auth RCE in Nginx HTTP/2 handling by antonvs on Wednesday November 18, 2026 @02:22PM (#50550797)
It makes more sense to install services like nginx via the official containers. In the modern world, the OS is for base services only.
Re:Pre-auth RCE in Nginx HTTP/2 handling by raegis on Wednesday November 18, 2026 @05:23PM (#50553137)
The distributions can customize packages with sensible defaults. Debian usually does, and is incredibly convenient. They usually disable features most people don't use, and allow you to easily switch them on if you choose.
Re:Pre-auth RCE in Nginx HTTP/2 handling by kd913 on Wednesday November 18, 2026 @05:47PM (#50553450)
You are aware of the massive vulnerabilities coming out across software eco-systems recently right?

Ubuntu and other distros have not kept up.

Podman container auto-updates to the latest upstream. It is a minimal surface area given alpine images. Security first containment.

In this day and age with AI attackers and zero-days it is absolutely daft to still treat servers as the old-school pets model.

Re:Pre-auth RCE in Nginx HTTP/2 handling by subsection1h on Wednesday November 18, 2026 @07:08PM (#50554172)
> Podman container auto-updates to the latest upstream

Doesn't this make the system more susceptible to supply chain attacks?

Re:Pre-auth RCE in Nginx HTTP/2 handling by jamesfinlayson on Wednesday November 18, 2026 @09:10PM (#50555204)
Agreed. At a previous job all the important stuff came from repos that always shipped latest.
Re:Pre-auth RCE in Nginx HTTP/2 handling by newsoftheday on Wednesday November 18, 2026 @02:31PM (#50550938)
This looks like it was patched in Ubuntu on the 12th?

https://ubuntu.com/security/notices/USN-9090-1

Re:Pre-auth RCE in Nginx HTTP/2 handling by man8alexd on Wednesday November 18, 2026 @02:39PM (#50551048)
This Ubuntu security notice is about an Apache vulnerability, not nginx.
Re:Pre-auth RCE in Nginx HTTP/2 handling by kayfox on Wednesday November 18, 2026 @02:40PM (#50551063)
> Several security issues were fixed in Apache HTTP Server.

Um, what does this have to do with NGINX?

Re:Pre-auth RCE in Nginx HTTP/2 handling by baggy_trough on Wednesday November 18, 2026 @02:45PM (#50551128)
Re:Pre-auth RCE in Nginx HTTP/2 handling by magahugu on Wednesday November 18, 2026 @05:39PM (#50553345)
Good to see
Re:Pre-auth RCE in Nginx HTTP/2 handling by oddIdentities on Wednesday November 18, 2026 @04:07PM (#50552119)
At least for Debian, http2 is disabled by default, and so not affected.

You would have had to enable http2 and have a buggy Linux kernel to be vulnerable.

Re:Pre-auth RCE in Nginx HTTP/2 handling by fhub on Wednesday November 18, 2026 @06:27PM (#50553813)
FWIW, for nodes that don't have packages, I compiled from source under /opt and deploy scripts check higher version so it will auto switch back when the new packages are installed.
Re:Pre-auth RCE in Nginx HTTP/2 handling by mediaserf on Wednesday November 18, 2026 @10:15PM (#50555606)
You can also add nginx.org repos and install the updated versions from there. https://nginx.org/en/linux_packages.html
Re:Pre-auth RCE in Nginx HTTP/2 handling by hiddenvulkcan on Wednesday November 18, 2026 @02:12PM (#50550680)
It was patched but the docker containers were a few hours behind, I nearly had to build from source on a few servers, until I noticed they were pushing all the tags as I was patching a few hours after the release was cut
Re:Pre-auth RCE in Nginx HTTP/2 handling by throwitaway222 on Wednesday November 18, 2026 @02:16PM (#50550713)
I told me agent to do that - similar situation.
Re:Pre-auth RCE in Nginx HTTP/2 handling by TedDoesntTalk on Wednesday November 18, 2026 @04:24PM (#50552304)
> me agent

Did you talk to it like a pirate?

Re:Pre-auth RCE in Nginx HTTP/2 handling by hiddenvulkcan on Wednesday November 18, 2026 @05:23PM (#50553135)
New caveman version just dropped! /Pirate
Re:Pre-auth RCE in Nginx HTTP/2 handling by dboreham on Wednesday November 18, 2026 @07:08PM (#50554176)
There are large areas of the English speaking world where this is common speech.
Re:Pre-auth RCE in Nginx HTTP/2 handling by Ikersl on Wednesday November 18, 2026 @04:46PM (#50552609)
Definitely, but unfortunately I use Debian for my servers so.
Re:Pre-auth RCE in Nginx HTTP/2 handling by weitendorf on Wednesday November 18, 2026 @02:34PM (#50550971)
If you're using grpc, http2, etc you're so much better off using Envoy proxy

You basically get to piggyback off of a large chunk of big tech's infrastructure and security work. Obviously everything has the risk of security flaws (and I kind of hate that default Envoy builds ship with half-baked filter impls) but it's a generally more mature ecosystem than projects with a lot of smaller/legacy users like nginx

Re:Pre-auth RCE in Nginx HTTP/2 handling by trey-jones on Wednesday November 18, 2026 @03:49PM (#50551940)
I'm not 100% informed on this, but it seems very unbelievable to me that Envoy could be considered more robust or widely used than nginx at any point in history including today. I started using ConnectRPC instead of GRPC almost entirely because it didn't leave me subject to (what I consider to be) an unnecessary dependency in Envoy.
Re:Pre-auth RCE in Nginx HTTP/2 handling by weitendorf on Wednesday November 18, 2026 @04:02PM (#50552092)
I guess I would just say, wordpress is also more widely used than many other projects, but that doesn't necessarily make it more robust or secure than the projects Google, Cloudflare, and security companies develop.

The main reason I see to not use Envoy is that it's very annoying to set up and build, and requires familiarity with things like grpc/proto/low level networking to get right. But if you're using grpc and http2 I think you're generally past that "infra overhead" threshold already and it's going to better serve your needs.

I have pretty much only worked at big tech or my own infrastructure startup, and did some systems/infra work at Google using Envoy for a while. I can't say it's 100% better than nginx but I can say that I've evaluated nginx and a lot of software like it (ie with a similar customer base, ecosystem, and history; like coturn) over the years for my personal use, and every time I've immediately been annoyed by constant security issues or poor http2/L4 networking support that I don't see when I use what Netflix/Google/etc use.

Re:Pre-auth RCE in Nginx HTTP/2 handling by TedDoesntTalk on Wednesday November 18, 2026 @04:20PM (#50552267)
Envoy probably has the advantage that it’s only a reverse proxy server, unlike nginx which has other uses too like a general-purpose web server with optional modules.
Re:Pre-auth RCE in Nginx HTTP/2 handling by weitendorf on Wednesday November 18, 2026 @04:46PM (#50552608)
You can implement custom http filters for envoy or use this for general web serving: https://www.envoyproxy.io/docs/envoy/v1.15.2/configuration/h...

The documentation, DX/UX, and discoverability for these features are pretty bad. But they work well if you know how to do it.

Implementing a custom HTTP filter itself is actually easy, I can share examples I did in the last year for a voice inference stack if anybody is interested. The problem is just that the devloop is very painful, because Envoy doesn't make it easy to know why something isn't working (this is actually most of what I did with it at Google, tons of testing/verification and compatability infra for relatively simple http stuff) and the builds take a very long time.

Re:Pre-auth RCE in Nginx HTTP/2 handling by technion on Wednesday November 18, 2026 @05:04PM (#50552862)
On all my small projects (eg rails apps) the reverse proxy to the app servers is the same server expected to serve the static assets directly. In fact the majority of bot nonsense never goes through the proxy due to path rules.

Envoy is only attractive at a higher scale.

Re:Pre-auth RCE in Nginx HTTP/2 handling by Lucasoato on Wednesday November 18, 2026 @04:54PM (#50552738)
Does Envoy support things like rate limiting?
Re:Pre-auth RCE in Nginx HTTP/2 handling by weitendorf on Wednesday November 18, 2026 @05:03PM (#50552840)
Yes [0]. For a single node you can just use this, it works like the Golang/language rate limiters you might already be familiar with [1]

In a multiple node/distributed architecture you need away to coordinate rate limits across nodes and not try to fight the CAP theorem.

There is a way to do this [2] [3] and although it sounds complicated the shape of the solution (delegating to a third party service that aggregates and provides client-level rate limit metrics across multiple proxies) would still be the same any way you cut it.

[0] https://www.envoyproxy.io/docs/envoy/v1.15.2/configuration/l...

[1] https://www.envoyproxy.io/docs/envoy/v1.15.2/api-v3/extensio...

[2] https://www.envoyproxy.io/docs/envoy/v1.15.2/intro/arch_over...

[3] https://www.envoyproxy.io/docs/envoy/v1.15.2/api-v3/config/r...

Re:Pre-auth RCE in Nginx HTTP/2 handling by fcantournet on Wednesday November 18, 2026 @08:12PM (#50554752)
I don't know what nginx security vetting looks like, but just being older isn't a security guarantee. I know Google spends a lot of manpower on making envoy secure.
Re:Pre-auth RCE in Nginx HTTP/2 handling by verst on Wednesday November 18, 2026 @06:23PM (#50553781)
I am using Envoy :)
Re:Pre-auth RCE in Nginx HTTP/2 handling by voodooEntity on Wednesday November 18, 2026 @06:26PM (#50553804)
What WAF would you suggest to use with envoy? Have been working with Coraza and tbh satisfying is something else. So i wonder what someone that recommends envoy would recommend as WAF for it
Re:Pre-auth RCE in Nginx HTTP/2 handling by weitendorf on Wednesday November 18, 2026 @06:46PM (#50553980)
Personally I serve all static, public content off a CDN and only serve dynamic content through Envoy after it passes AuthN/AuthZ.

I use JWT-based sessions + a remote JWKS (which is remote static content that Envoy can cache) + either a third-party IDP or dedicated login service (this being the only application logic besides Envoy's routing exposed to the public Internet). That way, every envoy auth check is immediate and stateless.

In this setup you don't really need a WAF because all unauthenticated requests redirect to signin or 403, which get strict rate limits on login. An abusive peer that sends a ton of traffic anyway gets blocked at the network/firewall level outside of Envoy. The tradeoff is you need to decide that you aren't going to do unauthenticated SSR, and I will admit this pretty complicated to set up in its entirety.

Re:Pre-auth RCE in Nginx HTTP/2 handling by chanux on Wednesday November 18, 2026 @09:55PM (#50555485)
I wonder if being prepared to switch the reverse proxy you use in whim is a good strategy in this climate.
Re:Pre-auth RCE in Nginx HTTP/2 handling by trollbridge on Wednesday November 18, 2026 @11:16PM (#50556015)
A while ago I started releasing our stuff with dual stacks (originally nginx and haproxy, more recently added traefik to the list).
Re:Pre-auth RCE in Nginx HTTP/2 handling by ktm5j on Wednesday November 18, 2026 @02:51PM (#50551202)
If you're using httpd just fyi - there was a recent RCE vuln for apache that was also http2 specific.
Re:Pre-auth RCE in Nginx HTTP/2 handling by geocar on Wednesday November 18, 2026 @10:59PM (#50555916)
Oof.

One idea that might work for you is client certificates if those are only internal APIs. I don't know about you, but I have a lot more confidence in openssl than the people who use openssl.

I turned off http2 a few years ago https://news.ycombinator.com/item?id=41486452 and absolutely did not regret it.

I do regret every experience I've had with gRPC though. I feel for you.