Skip to main content
RunBook Academy

LinuxXXXII · Vulnerability and Patch ManagementPatch priority

Patch priority decisions - timing and risk

Intermediate⏱ ~10 minbash

What you'll learn

  • Decide when to apply a patch
  • Balance security against availability
  • Communicate the decision
  • Document exceptions

Prerequisites

Verified against Ubuntu 24.04 LTS · Debian 12 (Bookworm) · RHEL 9.x · Rocky Linux 9.x · AlmaLinux 9.x · Linux kernel 6.1 LTS / 6.6 LTS · systemd 255+ · OpenSSH 8.7p1 (RHEL 9) / 9.6p1 (Ubuntu 24.04) · nftables 1.0.x · chrony 4.x · Pacemaker 2.1.x · Corosync 3.1.x · 2026-08-09

Not yet marked complete on this device.

Every patch is a trade-off: close a vulnerability vs risk a regression. This lesson is the discipline for making that decision.

The decision factors

  1. Severity (CVSS score).
  2. Exposure (internet, internal, isolated).
  3. Active exploitation (in the wild).
  4. Patch quality (well-tested, risky, experimental).
  5. Service criticality (production revenue, internal tool).
  6. Mitigation availability (workaround exists?).
  7. Time to test (staging cycle, validation).

Decision patterns

Critical CVE + active exploit: emergency change window. Patch within hours, even at risk. Communicate widely.

Critical CVE + no exploit: schedule change within days. Test in staging, apply in production during low-traffic.

High CVE + active exploit: emergency change window. Patch within 24 hours.

High CVE + no exploit: regular maintenance window. Patch within a week.

Medium / Low CVE: regular maintenance. Patch within the release cycle.

Patch with known regression: defer until regression is fixed, unless exploit is active.

Communicate

Every non-routine patch needs communication:

SUBJECT: PATCH 2026-08-09 02:00 UTC - nginx 1.27.2
AFFECTS: web01, web02, web03
REASON: CVE-2024-XXXXX (Critical, CVSS 9.8)
DOWN EXPECTED: <5 minutes per host
ROLLBACK: revert via package manager if smoke test fails
CONTACT: <on-call>

For service-impacting patches:

  • Notify in advance (24-48 hours when possible).
  • Document in a change record.
  • Have rollback ready.
  • Monitor after deploy.

Test in staging

# In staging
sudo apt upgrade -y
sudo systemctl restart nginx
curl -I https://staging.example.com

For critical services, staging should mirror production: load balancer, backend, database. The more similar the better.

Document exceptions

If a patch is deferred:

EXCEPTION: CVE-2024-XXXXX (Critical)
Affected: app-server-12
Decision: Defer 7 days
Reason: Patch breaks app config X; workaround in progress
Mitigation: WAF rule blocks exploit signature
Approved by: Security Team
Review: weekly until fixed

Exceptions are not “do not patch” - they are “patch later, with risk documented and reviewed”.

Communicate after patching

SUBJECT: APPLIED 2026-08-09 02:00 UTC - nginx 1.27.2
STATUS: All three web hosts patched
VERIFIED: Smoke tests passed; no errors in journal
NEXT: Monitor for 24 hours; close incident if clean

The post-patch communication closes the loop.

Knowledge check

Knowledge check · 3 questions

  1. Q1. A critical CVE with active exploit should be patched within:

  2. Q2. Deferring a critical CVE patch is acceptable if documented.

  3. Q3. Which of the following are valid patch decision factors? Select all that apply.

Passing score: 75%. Answers are checked in this browser.