r/CentOS • • 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.

7 Upvotes

11 comments sorted by

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.

1

u/codesway 15d ago

9 and 10 don't have the updated nginx version either yet!?

1

u/Old_Adeptness5169 10d ago

Still true as of today: the newest CentOS Stream 9 builds (1.20.1-32, 1.24.0-10, 1.26.3-12) and Stream 10's 1.26.3-16 don't carry the nginx2root fixes yet. RHEL, AlmaLinux, Rocky and Oracle all shipped them between 19 and 23 November, so one of those is the quickest fixed route right now.

2

u/RayneYoruka 16d ago

Facts indeed

-3

u/Old_Adeptness5169 16d ago

Agreed, migrating is the real fix, and ELevate is great for that. This is for the boxes that can't move this week but are exposed right now.

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.

-1

u/Old_Adeptness5169 16d ago

Nobody here is arguing against migrating. But nobody migrates a production server in 24 hours, and a public PoC has been out since disclosure day. We just want to keep those servers from getting hacked today while their owners plan the move. And it's not a hobby fix: reproducible builds, tested, and running on our own fleet.

5

u/carlwgeorge 16d ago

You are implying to be it's ok that someone hasn't migrated and that they can continue using an EOL distro by applying your fixes.

24 hours? These distros in question have been EOL for years. Be serious.

It's a hobby fix. It's not from the distro, because the distro is EOL. If you want to fork an EOL distro and actually provide security fixes for the whole distro, then do that, just call it something else and post about it in some other subreddit.

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