What is patching? Explained with a lock maker's safety notice
A security patch is a fix from a software maker for a known weakness. Like a lock maker's safety notice and replacement part, it only protects you once someone fits it.
- Author
Umair Mateen- Published
- Reading time
- 5 min
- Category
- DevOps
This week our news posts told readers to patch Drupal websites and PHP servers, and covered a tool that holds the door shut until a patch is in. Here is what patching actually means.
In one sentence: A security patch is a small update from a software maker that fixes a known weakness in its product, and patching is the routine of finding, testing and installing those fixes on every computer you run before attackers can use the weakness.
The everyday picture
Imagine a company that makes door locks. One day it finds a flaw: a certain model can be opened with a thin piece of metal. It sends out a safety notice to every building that uses that lock, along with a free replacement part.
The notice does not fix anything by itself. Someone in each building has to read it, check which doors have that lock, and fit the new part. Until they do, the flaw is still there, and now more people know about it.
Software works the same way. The lock is a program, like a website system or an operating system. The flaw is a security weakness, often called a vulnerability. The replacement part is the patch. The building manager is whoever looks after your computers and websites.
The software maker (lock maker) publishes an advisory and a patch. Your team checks what it runs, tests the fix and installs it everywhere. Until that last step, the weakness is still open.
How it works, step by step
- The software maker finds or is told about a weakness (the lock maker learns the lock can be opened). It builds a fix. CISA, the US cybersecurity agency, says developers create these patches as soon as they can.
- It publishes a security advisory (the safety notice). The advisory says which versions are affected, how serious the problem is and which version fixes it. Many give each weakness a reference number, like the CVE numbers in our Drupal and PHP posts.
- You check what you run (the manager walks the building and lists every door with that lock). This needs an up-to-date list of your software and versions. CISA advises businesses to keep exactly that kind of inventory.
- You test the patch (fitting the new part on one door first). A fix can sometimes clash with other software, so teams try it somewhere safe before rolling it out.
- You install it everywhere and confirm it worked (every door gets the new part). If you truly cannot patch yet, a temporary measure, like a bar across the door, can reduce the risk until you can. NIST, the US standards body, covers these temporary alternatives to patching in its guidance.
Try it · Put it in order
Put the patching routine in the right order
Tap the steps in the order they happen.
Where the picture stops
- A real lock flaw needs someone standing at the door. A software weakness can often be used remotely, over the internet, by people who never come near your office.
- Fitting a new lock part rarely breaks anything else. A software patch occasionally can, which is why testing matters.
- Many software updates install themselves if you let them. CISA recommends turning on automatic updates wherever possible, something no lock can do.
Why it matters for your business
- Risk: CISA warns that criminals use software weaknesses to steal business, staff and customer data. Its advice is to install updates as soon as possible, because criminals won't wait.
- Priorities: you cannot fix everything at once. CISA keeps a public list of weaknesses already being used in real attacks and says to put those updates first.
- Old software: software that is "end of life" no longer gets patches at all. CISA advises replacing it, because a lock nobody makes parts for can never be fixed.
- Cost: NIST calls patching "a cost of doing business" and a core part of preventive maintenance, so it belongs in your budget and plans.
An example
Imagine a 20-person design agency with a company website, office laptops and an online booking tool. A critical advisory comes out for the website system it uses. The agency's IT partner checks the version, sees the site is affected, and tests the fix on a copy of the site that afternoon. It installs the patch on the live site the same day and confirms the new version is running. The laptops already update automatically, so nothing else needs doing.
Frequently asked questions
Is a patch the same as an update?
A patch is a kind of update. "Update" is the wider word and can include new features or speed improvements; a security patch is an update made mainly to fix a weakness.
Should I just turn on automatic updates?
For laptops, phones and most everyday apps, yes. CISA recommends it wherever possible. Business systems and websites are often patched by a person or a provider, who tests first.
What if my software no longer gets updates?
Then known weaknesses stay open for good. Plan to upgrade or replace it, and limit who and what can reach it until you do.
Who patches software that runs in the cloud?
It depends on the service. For a fully managed service the provider usually patches the systems underneath; for your own servers or website software, it is usually your team or your agency. Check your contract to be sure.
Related explainers
The DevDrift helps teams keep web platforms patched and hardened: see how.
Sources
Could you explain this to a colleague now?
Mark it and posts that mention it will show a tick. Saved in this browser only.