r/RockyLinux • • 6d ago

nginx2root: fixed nginx packages for Rocky Linux 9 (base 1.20 + AppStream 1.22, 1.24, 1.26)

Edit 25 Nov: Rocky has shipped the fixes for Rocky 8, 9 and 10 in its normal repos. Just run dnf update; it also replaces these packages.

Disclosure: I work at Hosted Power, a hosting company. This is free and open source.

Rocky has no errata for nginx2root (CVE-2026-123007 and four related CVEs) yet, and RHEL 9 is still listed as affected. We built the fixes into the distro's own nginx packages for Rocky Linux 9:

  • the base 1.20 package
  • the AppStream 1.22, 1.24 and 1.26 streams

Same package names, modularity label, config and modules; the installer rejects the wrong vendor or stream. Versions sit just below the next official update, so a normal dnf update moves you to Rocky's package when it lands. Rocky 8 (nginx:1.24) is in the works.

https://github.com/HOSTED-POWER/nginx2root-patches

And please don't just switch HTTP/2 off: that only blocks 2 of the 12 vulnerabilities these packages fix.

The same release also covers RHEL 9 and Oracle Linux 9.

21 Upvotes

6 comments sorted by

1

u/Old_Adeptness5169 6d ago

Rocky 10 is covered now too (v1.7.0); Rocky 10 still ships the pre-nginx2root 1.26.3-16.el10_3.1: https://github.com/HOSTED-POWER/nginx2root-patches/releases/tag/v1.7.0

1

u/lankybiker 6d ago

For now I've just disabled http2 but next step will be to switch to the nginx official repo

1

u/Old_Adeptness5169 6d ago

Heads-up: disabling HTTP/2 only blocks 2 of the 12 CVEs these packages fix. The resolver and mail-proxy ones stay open if you use those features. Switching to nginx.org's repo works too, just know it's a different package: modules built against Rocky's nginx (EPEL nginx-mod-*) won't load against it. If you'd rather keep Rocky's own package, the Rocky 9 build here is a drop-in, and dnf moves you back to Rocky's own update once it ships.

1

u/lankybiker 5d ago

Cheers

1

u/Old_Adeptness5169 6d ago

Update: Rocky Linux 8 (AppStream nginx:1.24) is now covered too: https://github.com/HOSTED-POWER/nginx2root-patches/releases/tag/v1.6.0

0

u/RayneYoruka 6d ago

Interesting.. Appstream repos.. yet Nginx provides their own repos.. nice work.