Skepra / Web recovery & resilience

Verify an nginx security update by checking its package revision

An upstream nginx version string may not be enough to assess a distribution package update. Use the fixed revision published for the relevant distribution, compare it with the installed package, and keep the evidence tied to the vendor notice that applies.

Discuss the next maintenance decision
Summary card: Verify an nginx security update by checking its package revision. An upstream nginx version string may not be enough to assess a distribution package update. Figures quoted from the article: DSA identifier: DSA-6642-1; version: 1.26.3-3.
Summary card drawn from this article's own text. Any figure on it is quoted from the article.

Step 1: Identify the release and applicable notice

First establish which distribution release supplies the nginx package you are reviewing. Debian's DSA-6642-1 says the fix for its stable trixie distribution is in package version 1.26.3-3+deb13u11, and recommends upgrading the nginx packages. Use that value only for the stated Debian release. For a different release or a different distribution, consult that vendor's notice and use the package versions it lists. Ubuntu's notice describes correction through its listed package versions, so its table is the relevant reference for Ubuntu packages. Record the distribution and release alongside the notice before comparing anything.

Source: Debian DSA-6642-1; Ubuntu USN-9159-1.

Step 2: Read the installed package revision

On a Debian-based system, inspect the installed nginx package with dpkg -l nginx. You can also review the package changelog with apt changelog nginx. Treat these as inspection steps: they show package information available on the system, while the fixed comparison value must come from the applicable vendor notice. Keep the command output with the release identification so a reviewer can see which package and distribution were checked. Do not infer the applied security fix from an upstream version label alone; compare the distribution package revision instead. The Debian advisory provides the trixie comparison value, while Ubuntu directs readers to the package versions in its own notice.

Source: Debian DSA-6642-1; Ubuntu USN-9159-1.

Step 3: Compare, update, and record the result

For trixie, compare the installed nginx package revision with 1.26.3-3+deb13u11, the fixed version stated by Debian. An installed revision equal to or later than that listed revision meets this version comparison; an older one means the package does not meet the stated threshold. If an update is needed, follow the package manager and maintenance process for that system, then inspect the package revision again. For Ubuntu, compare against the applicable version in the Ubuntu notice rather than reusing Debian's number. Ubuntu says a standard system update will generally make the necessary changes. Record the release, notice, observed package revision, and comparison outcome so another person can reproduce the review.

Source: Debian DSA-6642-1; Ubuntu USN-9159-1.

Handoff and limits

Hand off the release identification, source notice, package output, and comparison result to the person responsible for maintenance. The Debian statement cited here establishes a fixed package version for trixie; it does not establish fixed status for every Debian release or provide a per-CVE status for that release. The Ubuntu notice applies to Ubuntu packages and its own listed versions. A package revision comparison does not establish that a particular server is affected, that an update was applied successfully, or that service behavior was tested. Confirm those separate facts through the system owner's maintenance and validation process.

Source: Debian DSA-6642-1; Ubuntu USN-9159-1.