If I wanted to build my own software from source every time I'd be running Solaris like a virile man from 2004.
Which may be good or bad.
stable-alpine-slim docker iamge is only 14MB?
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.
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.
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.
Doesn't this make the system more susceptible to supply chain attacks?
Um, what does this have to do with NGINX?
You would have had to enable http2 and have a buggy Linux kernel to be vulnerable.
Did you talk to it like a pirate?