Vulnerability scanning & patch management
Scan lab hosts, prioritise findings by CVSS and exploitability, and track patching.
By Invicly Tech, , in Cyber Security Fundamentals. About 10 minutes to read.
In short
Vulnerability management finds weaknesses, rates them and tracks their fix. A CVE names a specific flaw, CVSS scores its severity, and the KEV catalog flags those known to be exploited. Risk-based prioritisation patches what attackers actually use first.
Explained simply
A vulnerability is a weakness in software or configuration that an attacker could use. New ones are found every day: tens of thousands are published each year. No team can fix them all at once, so vulnerability management is really about choosing what to fix first.
Each public vulnerability gets an ID called a CVE, such as CVE-2021-44228 for Log4Shell. A CVSS score from 0 to 10 says how bad it could be in general. But a high score does not mean attackers are using it. That is why lists of actually exploited bugs matter so much.
A vulnerability scanner checks your machines against a big database of known problems. It can look from the outside, like an attacker, or sign in with an account to check installed versions in detail. Signing in finds far more.
The work is a loop: know your assets, scan them, decide what matters most, fix it, and scan again to prove it is fixed. Teams track this with deadlines, so critical problems on internet-facing systems never wait for months.
Press Play on a diagram to walk through it one step at a time.
- 1Scan
Find vulnerabilities on hosts.
- 2Prioritise
Rank by CVSS and exploitability.
- 3Remediate
Patch or mitigate.
- 4Rescan
Confirm the fix.
- Back to step 1
- Scanner to Security team: Finding: CVE on web01, in KEV1Finding: CVE on web01, in KEV
- Security team to System owner: Ticket: priority 1, due in 7 days2Ticket: priority 1, due in 7 days
- System owner to Security team: Patched test, then web01; restarted3Patched test, then web01; restarted
- Security team to Scanner: Request rescan of web014Request rescan of web01
- Scanner to Security team: Finding gone5Finding gone
- Security team to System owner: Ticket closed, on time6Ticket closed, on time
In depth
CVE, CVSS, EPSS and KEV: four different questions
These names sound alike but answer different questions. A CVE (Common Vulnerabilities and Exposures) ID answers "which flaw?". IDs look like CVE-2024-3094 and are assigned by CVE Numbering Authorities, often the software vendor.
CVSS (Common Vulnerability Scoring System) answers "how bad could it be?". The base score uses factors like attack vector (network or local), complexity, privileges needed and impact. Bands are Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. Version 3.1 is still the most common; version 4.0 was released in 2023.
EPSS (Exploit Prediction Scoring System, from FIRST) answers "how likely is exploitation in the next 30 days?" as a probability. The CISA KEV (Known Exploited Vulnerabilities) catalog answers "is it already being exploited?". If a CVE is in KEV, attackers use it today.
- Severity if exploited
- 0.0 to 10.0
- Same for everyone
- Says nothing about attackers
- Chance of exploitation
- Probability 0 to 1
- Updated daily
- Next 30 days
- Exploited in the wild
- Yes or no list
- Run by CISA
- Fix these first
Reading a CVSS vector
A CVSS score comes with a vector string that shows how it was calculated. For example, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H scores 9.8. Read it as: attack vector Network (reachable remotely), attack complexity Low, privileges required None, user interaction None, scope Unchanged, and High impact on confidentiality, integrity and availability. In plain words: anyone on the network can fully take over the system without help.
Compare AV:L/PR:L, which needs a local account first: still serious, but an attacker must already be inside. The vector helps you judge your own situation. A network-reachable bug on a server only reachable from a lab VLAN matters less than the same bug on a public web server, even with the same score.
- AV: N network, A adjacent, L local, P physical
- PR: privileges needed, N none, L low, H high
- UI: R means a user must click or open something
Authenticated vs unauthenticated scans
An unauthenticated scan looks at a host from the network, like an outsider. It sees open ports, service banners and responses, and guesses versions from them. It is quick but misses most problems in installed software that is not listening on the network, such as an old browser or library.
An authenticated (credentialed) scan logs in, over SSH for Linux or SMB and WMI for Windows, and reads the real installed package versions and settings. It finds many more issues with fewer false positives. Use a dedicated scan account, protect its credentials, and give it only the rights the scanner documents.
Common tools include Greenbone OpenVAS (open source), Tenable Nessus (Nessus Essentials is free for up to 16 IPs) and Nuclei for web templates. Only scan systems you own or have written permission to test.
Prioritising by real risk
A typical scan returns hundreds of findings. Sorting by CVSS alone sends teams after scary-looking bugs on unimportant machines. A better order combines several facts: Is it in KEV or does it have a high EPSS? Is the system reachable from the internet? How important is the asset, for example a domain controller or a payment system? Is a compensating control in place, such as the vulnerable feature being turned off?
Many teams set deadlines (SLAs) by priority, for example critical internet-facing issues within days and medium internal ones within a month or two. US federal agencies must fix KEV entries by the due date CISA sets, and many companies copy that rule.
When a fix is impossible, record an exception with an owner, a reason, a compensating control and an end date, and review it later.
- 1In KEV?
Yes: top priority
- 2Internet-facing?
Exposed systems move up
- 3Asset critical?
DCs, identity, payments first
- 4EPSS and CVSS
Break ties by likelihood and impact
- 5Set due date
SLA by priority; track it
Patching, verifying and measuring
Patching in waves limits risk: first a small test group, then a pilot of real users, then everyone. Keep a rollback plan, such as a snapshot or the previous package version. Some fixes need a restart of the service or a reboot, so a patch is not done until the new code is actually running.
Verification closes the loop: rescan the host and confirm the finding is gone, rather than trusting that the patch job reported success.
Measure progress with a few simple numbers: mean time to remediate by severity, the share of KEV findings past their due date, and scan coverage (what percent of known assets were scanned this month). Coverage matters because you cannot patch machines nobody knows about, so an accurate asset inventory comes first.
Learn it in 4 short steps
About 45m each. Track them with a timer in your plan.
- 1Explain CVE, CVSS and KEV~45m
- 2Run an authenticated scan in a lab~45m
- 3Prioritise findings by real risk~45m
- 4Track remediation and rescan~45m
Key points
- A CVE is a unique identifier for one vulnerability.
- CVSS gives a severity score from 0 to 10.
- The KEV catalog lists vulnerabilities seen exploited in the wild.
- Prioritise by real exploitability, not just raw score.
Key terms
Tap a card to flip it. 0/4 known
Examples
Two findings, one decision
A scan shows two findings. Finding A: CVSS 9.8 in a library on an internal test server with no internet access, EPSS low, not in KEV. Finding B: CVSS 7.5 on the public VPN gateway, listed in KEV. Step 1: check KEV first: B is being exploited now. Step 2: check exposure: B faces the internet, A does not. Step 3: decision: patch B today as an emergency change and track A with a normal deadline. The lower CVSS score wins because real-world risk is higher.
Checking a CVE against KEV from the command line
CISA publishes the KEV catalog as a JSON feed. Step 1: download it. Step 2: search for the CVE IDs your scanner reported. Step 3: print the due date and required action for any match. Step 4: add these to the top of your patch queue. Running this daily in a script keeps your priority list current as CISA adds new entries.
curl -s https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json \
-o kev.json
for cve in CVE-2021-44228 CVE-2017-0144 CVE-2099-0001; do
jq -r --arg c "$cve" '.vulnerabilities[] | select(.cveID==$c)
| "\(.cveID) IN KEV: \(.vulnerabilityName) | due \(.dueDate)"' kev.json
doneQuick reference
- CVE = which flaw; CVSS = how bad; EPSS = how likely; KEV = exploited now
- CVSS bands: Low 0.1-3.9, Medium 4.0-6.9, High 7.0-8.9, Critical 9.0-10.0
- AV:N/AC:L/PR:N/UI:N in a vector means remote, easy, no login, no click
- Authenticated scans read installed versions and find far more than network-only scans
- Fix KEV entries on internet-facing systems first
- A patch is done only when the new code runs: restart or reboot, then rescan
- Track exceptions with an owner, a reason, a compensating control and an end date
- You cannot patch what you do not know about: keep an asset inventory
Quick quiz
Pick an answer to see if you're right and why.
Practice exercises
Try each one yourself first. Use the hint if you get stuck, then compare with the solution.
- Exercise 1easy
Decode this vector in plain words: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Who could exploit it?
- Exercise 2medium
In a lab, scan two VMs with OpenVAS or Nessus Essentials: once unauthenticated and once with credentials. Compare the number of findings.
- Exercise 3hard
Write a simple priority rule (pseudo-code or Python) that assigns P1 to P4 using KEV, internet exposure, asset criticality, EPSS and CVSS. Apply it to three sample findings.
Check yourself
Answer in your head, reveal, then be honest with yourself.
Feel confident about this topic?
Frequently asked questions
- What is the difference between a vulnerability scan and a penetration test?
- A scan is automated and checks for known issues across many systems. A penetration test is a person, with permission, trying to actually exploit weaknesses and chain them together, which finds logic flaws a scanner misses.
- Is a CVSS 10 always the top priority?
- No. CVSS measures possible severity, not whether attackers use it or whether your system is exposed. A KEV-listed 7.5 on an internet-facing server is often more urgent than a 10 on an isolated test box.
- How often should I scan?
- Many teams scan at least weekly, and continuously for internet-facing systems. Also scan after big changes and right after urgent advisories, to find affected systems quickly.