r/CentOS • u/Old_Adeptness5169 • 16d ago
nginx2root: fixed nginx packages for CentOS 7 (EPEL) and CentOS 8 (AppStream)
Disclosure: I work at Hosted Power, a hosting company. This is free and open source.
CentOS 7 and 8 won't get an official fix for nginx2root (CVE-2026-123007 and friends): EPEL 7 is frozen at 1.20.1 and the CentOS 8 AppStream streams are EOL. We needed it for our own older servers, so we built the fixes into the distro's own nginx packages:
- CentOS 7: archived EPEL
1:1.20.1-10.el7 - CentOS 8: AppStream streams 1.14, 1.16, 1.18 and 1.20, same stream and modularity label
Same package names, config paths and modules, so it's a normal rpm upgrade, no switch to another nginx build. The installer only touches nginx packages you already have.
https://github.com/HOSTED-POWER/nginx2root-patches
And please don't just switch HTTP/2 off instead: that only blocks 2 of the 12 vulnerabilities these packages fix.
It also covers Debian 8 to 13, if you have those around too.
4
u/jonspw 16d ago
The real solution is to move to a supported distribution, be it CentOS Stream 9 (or 10) or AlmaLinux 8/9/10. ELevate from AlmaLinux can handle either path for you easily.
4
u/carlwgeorge 16d ago
I don't know why there is such a trend lately of advertising hobby fixes to EOL versions of the distro, but it encourages bad behavior and needs to stop.
4
u/sector-one 16d ago
Great effort. It's like fixing some leaking rivets onboard the Titanic while on the other side of the ship an iceberg ripped the hull in pieces. Please tell me that is just some retro-computing hobby project disconnected from the internet and you don't use that in production. You still have a vulnerable kernel, glibc, openssl, zlib, etc.
-2
u/Old_Adeptness5169 16d ago
Update for anyone moving off CentOS: the same repo now also covers RHEL 9, Rocky Linux 9 and Oracle Linux 9 (base 1.20 and AppStream 1.22, 1.24, 1.26) and Oracle Linux 10. Rocky/RHEL 8 (nginx:1.24) is in the works.
-2
u/Old_Adeptness5169 16d ago
Rocky 8's nginx:1.24 stream is covered now as well, for anyone who moved from CentOS 8 to Rocky 8: https://github.com/HOSTED-POWER/nginx2root-patches/releases/tag/v1.6.0