GrepBoard/Manuals
605 manuals ·

Ubuntu 24.04 nginx USN-8955-1: verify 1.24.0-2ubuntu7.19

·Tested on Ubuntu 24.04 · nginx 1.24.0-2ubuntu7.19 (Docker) · 2026-10·Test scope ↓·6 steps

USN-8955-1 (Oct 26) fixes nginx on Ubuntu 24.04 in 1.24.0-2ubuntu7.19. Check it with dpkg, upgrade, then restart (not reload) to run the new binary.

Ubuntu published USN-8955-1 on 2026-10-26 with nginx security fixes. On 24.04 LTS you are fixed at **1.24.0-2ubuntu7.19** or later. nginx -v only says 1.24.0, so check with dpkg. After upgrading, also confirm the running nginx is the new binary.

[1] See which CVEs apply to 24.04, per the USN text.

CVEUSN description24.04
CVE-2026-15176configurations using alias together with rewriteaffected
CVE-2026-93479map directives using regex matchingaffected
CVE-2026-97205asynchronous file I/O with Server Side Includes pagesaffected
CVE-2026-97629session ticket keys with a shared session cache and no explicit key rotationaffected
CVE-2026-95101HTTP/3 requests with proxy_request_buffering26.04 and 26.10 only

On 24.04, nginx, nginx-core, nginx-extras, nginx-full and nginx-light are all fixed in 1.24.0-2ubuntu7.19 (26.04: 1.28.3-2ubuntu1.12, 22.04: 1.18.0-6ubuntu14.22). Upstream nginx.org fixed the same five in 1.30.6 and 1.31.7 (2026-10-14).

[2] Check the installed version.

console
$ dpkg -l "nginx*" "libnginx-mod*" | grep ^ii$ nginx -v
output
dpkg-query: no packages found matching libnginx-mod*ii  nginx              1.24.0-2ubuntu7.19 amd64        small, powerful, scalable web/proxy serverii  nginx-common       1.24.0-2ubuntu7.19 all          small, powerful, scalable web/proxy server - common filesnginx version: nginx/1.24.0 (Ubuntu)

The first line just means no dynamic module packages (libnginx-mod-*) are installed. If you have modules such as libnginx-mod-stream, they are listed too and must also be 7.19. 7.19 is the fixed build; 7.18 or lower is not. nginx -v still reads 1.24.0 after the fix, so against nginx.org's "Not vulnerable: 1.30.6+" it always looks vulnerable. Ubuntu backports fixes into the same 1.24.0, so go by the package version. If you run nginx.org packages or the official Docker image, ignore Ubuntu version numbers and check for 1.30.6 or 1.31.7 and later.

[3] Upgrade. First confirm the candidate is 7.19.

console
$ sudo apt update$ apt-cache policy nginx
output
nginx:…  Candidate: 1.24.0-2ubuntu7.19  Version table:     1.24.0-2ubuntu7.19 500…        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages     1.24.0-2ubuntu7 500…
console
$ sudo cp -a /etc/nginx /etc/nginx.bak-usn8955$ sudo apt install --only-upgrade nginx nginx-common

Put every package from step [2] on the same line (nginx-full, libnginx-mod-stream and so on). Module packages come from the same source as nginx but are not tied to its version:

output
Package: libnginx-mod-streamSource: nginxVersion: 1.24.0-2ubuntu7.19Depends: nginx-abi-1.24.0-1, libc6 (>= 2.33)

Depends names no nginx version, so upgrading only nginx gives no guarantee that the modules follow. The CVE-2026-93479 patch in this changelog also changes src/stream/ngx_stream_script.c, and that code lives in /usr/lib/nginx/modules/ngx_stream_module.so from libnginx-mod-stream. After upgrading, run the step [2] command again and confirm every line shows 7.19. If you are asked whether to replace a config file you edited, keep yours. Rolling back is not easy: the archive only lists 7.19 and the original release 1.24.0-2ubuntu7, which lacks every one of these fixes, so do not downgrade. If something breaks, compare against the config in /etc/nginx.bak-usn8955 instead.

[4] Confirm the CVEs in the changelog. It ships inside the package, so no network is needed.

console
$ zcat /usr/share/doc/nginx/changelog.Debian.gz | head -n 20
output
nginx (1.24.0-2ubuntu7.19) noble-security; urgency=medium  * SECURITY UPDATE: heap overflow in certain configurations    - CVE-2026-15176    - CVE-2026-93479  * SECURITY UPDATE: UaF when asynchronous file I/O is enabled    - CVE-2026-97205  * SECURITY UPDATE: client SSL session forgery    - CVE-2026-97629

(The patch description lines are trimmed.) The top entry should be 7.19 with all four CVEs.

[5] Check that the running nginx is the new binary. Upgrading the package does not necessarily replace the master process that is already running. In the test, reinstalling the package while nginx ran produced this:

console
$ sudo ls -l /proc/$(cat /run/nginx.pid)/exe
output
lrwxrwxrwx 1 root root 0 … /proc/312/exe -> /usr/sbin/nginx (deleted)

(deleted) means the file on disk is new but the process in memory is the old one. The package postinst runs invoke-rc.d nginx upgrade || invoke-rc.d nginx restart when nginx is running, but verify the result with this line.

[6] If you see (deleted), restart. reload (HUP) re-reads the config and starts new workers; replacing the executable is USR2 ("Upgrading Executable on the Fly") in the official docs. So systemctl reload nginx does not apply the fix.

console
$ sudo nginx -t && sudo systemctl restart nginx$ sudo ls -l /proc/$(cat /run/nginx.pid)/exe
output
lrwxrwxrwx 1 root root 0 … /proc/361/exe -> /usr/sbin/nginx

Connections drop briefly during the restart. Once (deleted) is gone, you are done.

Where checking gets confusing

  • If the package is 7.19 but /proc/<PID>/exe still shows (deleted), you are not fixed yet (step [5]).
  • Config checks per CVE live elsewhere: the session ticket conditions (CVE-2026-97629) in nginx CVE-2026-97629 session ticket check, and the alias/rewrite conditions (CVE-2026-15176) in CVE-2026-15176 check. Patching comes first; config checks are a stopgap when you cannot patch right away.
  • On 22.04 the fixed build is 1.18.0-6ubuntu14.22, and Ubuntu's CVE page lists 22.04 as "Not affected" by CVE-2026-97629.

Official sources: USN-8955-1, nginx security advisories, Controlling nginx.

Analyze your Nginx log in the browser ↗ — nothing is uploaded.

#nginx#usn-8955-1#ubuntu-2404#cve-2026-97629