How do you handle a critical zero-day (e.g. OpenSSH or glibc) across the fleet in hours?
AdvancedProductionPatching, Automation & Golden Images
Answer
- Assess exposure: which versions are affected, which hosts are internet-facing (inventory + scanner data).
- Mitigate immediately where possible: restrict network access, config workarounds (e.g.
LoginGraceTime 0was the regreSSHion mitigation). - Patch in fast rings: canary → internet-facing → internal, with automation (SSM Run Command / Ansible) and restarts of affected services or reboots for kernel/glibc.
- Verify with package version queries fleet-wide, and rebuild golden images so new instances are not vulnerable.
- Write a post-incident review on time-to-patch.
More on Patching, Automation & Golden Images
What does a good Linux patching strategy look like?BeginnerIn-place patching vs immutable image replacement: which do you prefer?IntermediateHow do you know whether a server needs a reboot after patching?BeginnerHow do you configure automatic security updates?BeginnerWhat is kernel live patching?IntermediateHow do you roll kernel updates across a 200-node fleet safely?Advanced