Vulnerability Management
Vulnerability management is the operating discipline of finding weaknesses, deciding which ones matter, fixing them within a promised time, and proving the fixes worked. It is measured less by the size of the scanner deployment than by the boring numbers underneath: coverage of assets, age of open findings, percentage of fixes verified, and how quickly a critical issue moves from discovery to closure. A program that scans everything monthly but never verifies remediation is producing PDFs, not risk reduction.
The loop: discover, scan, triage, fix, verify
The lifecycle starts with an accurate asset inventory, because scanners only find weaknesses in machines they know about. Cloud environments make this harder â instances appear and vanish in minutes, containers live for hours, and shadow IT remains a permanent category â so discovery must be automated from the cloud inventory and network observation rather than from a spreadsheet.
Vulnerability management loop
1. Discover asset inventory from cloud, directory, network scan; classify by exposure
2. Scan authenticated, scheduled scans per asset class; weekly for external hosts
3. Triage deduplicate, validate, score with context, assign owner
4. Remediate patch, config change, compensating control, or documented exception
5. Verify rescan or retest; confirm closed, not just ticket-closed
6. Report age, coverage, SLA attainment, top recurring root causes
Authenticated scanning deserves emphasis. Unauthenticated scans infer from banners and miss most local findings â missing patches, weak file permissions, unquoted service paths. Credentialed scans cost more to set up and return the majority of actionable results, which is why mature programs treat scanner credentials as production secrets rather than an afterthought.
Scanning tools and where they fit
No single scanner covers everything. Network scanners find open ports and service weaknesses; web application scanners probe HTTP endpoints; container and infrastructure-as-code scanners catch misconfigurations before deployment; and dependency scanners identify vulnerable libraries.
| Tool class | Example | Finds | Misses |
|---|---|---|---|
| Network vulnerability scanner | Nessus, OpenVAS | Missing patches, weak services, misconfigurations | Application logic flaws |
| Web application scanner | Nikto, Burp DAST | Injection, XSS, exposed panels | Business-logic abuse |
| Software composition analysis | Dependency-check, Snyk | Known-vulnerable libraries | Unsafe use of safe libraries |
| IaC / container scanning | Trivy, Checkov | Public images, open security groups | Runtime drift |
| Cloud posture assessment | Prowler, ScoutSuite | IAM over-permission, logging gaps | Workload behavior |
# Authenticated network scan against a maintenance window target list
nmap --script vuln -Pn --script-args=unsafe=1 -iL targets.txt -oA /scans/weekly-$(date +%F)
# OpenVAS headless scan with a scheduled task (credentials stored in the vault)
omp -u scanner -w "$GVMD_PW" -X '<create_target><name>weekly-web</name><hosts>10.0.20.0/24</hosts><credential id="ssh-scan"/></create_target>'
# Container and image checks in CI â fail the build on criticals
trivy image --severity CRITICAL,HIGH --exit-code 1 registry.example/payments-api:2.4.1
checkov -d infrastructure/ --quiet --framework terraform
# Dependency audit wired into the pipeline
mvn org.owasp:dependency-check-maven:check -DfailBuildOnCVSS=7
Wire findings into the delivery pipeline so a newly introduced vulnerable dependency fails the build rather than waiting for next month's scan. Keep exception handling explicit: a waived finding needs an owner, a reason and an expiry date, and expired waivers must reappear in the backlog automatically.
Scoring: CVSS, context and exploitability
The Common Vulnerability Scoring System produces a base score from attack vector, complexity, privileges required, user interaction, and impact on confidentiality, integrity and availability. It is useful as a common language and insufficient as a priority list: a critical-scored vulnerability in an internal, unreachable service may matter less than a medium-scored one on a public host with a published exploit.
CVSS v3.1 base vector example
AV:N attack vector network-reachable
AC:L attack complexity no unusual conditions
PR:N privileges required unauthenticated
UI:N user interaction none required
S:U scope unchanged
C:H / I:H / A:H high impact on all three properties
Base score for that combination: 9.8 (critical)
Context that changes the order of work
Internet-facing? +2 priority
Known exploited in the wild? +3 priority (check EPSS or your intel feed)
Compensating control present? -1 priority, document it
No owner, no patch available? exception path with expiry
Exploit prediction scoring and threat intelligence close the gap between theoretical severity and real-world urgency. A vulnerability with a public proof of concept and observed exploitation in the wild deserves a faster clock than its CVSS alone suggests, and feeds like CISA's known-exploited list are a practical input to your SLA decisions.
Remediation, exceptions and the human side
Fixing is where most programs stall, because the person who owns the finding is rarely the person who set the scanner's expectation. Remedies include patching, a configuration change, a compensating control that neutralizes reachability, or an accepted risk with documentation. The service-level agreement should be tied to exposure and severity, not to CVSS alone.
| Priority | Typical criteria | Remediation SLA | Escalation |
|---|---|---|---|
| P1 | Critical, internet-facing or exploited | 24 to 72 hours | CISO, change board emergency path |
| P2 | High, internal with realistic path | 7 days | Engineering management |
| P3 | Medium, compensating controls exist | 30 days | Normal backlog |
| P4 | Low or informational | 90 days | Scheduled maintenance |
Exceptions are a feature, not a failure â the alternative is teams hiding findings. An exception document states the risk accepted, the compensating control, the compensating control's owner, and the expiry date, and it is reviewed by whoever has authority to accept that level of risk. Expired exceptions must become new findings automatically, or the register quietly becomes a graveyard.
The relationship between the security team and engineering decides how fast fixes actually land. Findings that arrive as unexplained PDF attachments get deprioritized; findings that arrive in the engineering backlog with a reproduction step, an owner derived from the service catalog, and a clear statement of impact get fixed. Give developers self-service access to their own results, fix guidance for the common classes, and a fast path for false-positive reports â the fastest way to poison a program is to argue with engineers about a scanner artifact instead of correcting it.
Verification is the step that earns trust. A ticket marked "fixed" is a claim; a rescan that returns no finding is evidence. Where scanners cannot verify â a code-level fix, an authorization change â require a retest note from the person who applied the fix, and spot-check a sample. Track "time to verify" alongside "time to remediate" so the queue behind the fixers does not silently grow.
Metrics that show progress rather than activity
Dashboards full of total findings trend upward in any growing company and tell leadership nothing. Measure rates and ages instead.
| Metric | Definition | Why it matters |
|---|---|---|
| Coverage | Percentage of inventoried assets scanned on schedule | You cannot fix unknown machines |
| Mean time to remediate by priority | Discovery to verified closure | Direct measure of program effectiveness |
| SLA attainment | Percentage of findings closed within target | Shows whether commitments are realistic |
| Finding age | Distribution of open findings by age | Exposes the long tail nobody works on |
| Reopened rate | Fixes that fail verification or regress | Tests fix quality, not ticket speed |
| Exception volume | Open waivers by category and expiry | Reveals risk being accepted informally |
Watch the age distribution most closely. A falling count of open criticals alongside a growing pile of mediums two years old means the program fixes what is loud and defers what is quiet â which is how the next incident gets its entry point.
Making the program durable
Automation carries the load: scheduled scans per asset class, auto-ticketing with owner assignment from CMDB or cloud tags, auto-quarantine for the most dangerous public exposures, and rescan-on-fix to close the loop. Prioritize based on exposure and exploitability, not just raw score. Give engineering teams scan results in their own tooling instead of a separate portal they never open. And review recurring root causes quarterly â if the same missing patch or misconfiguration class appears every month, the durable fix is an image, a policy or a guardrail, not another ticket.
Common Mistakes
Treating the CVSS score as the priority list
Fix: Adjust by exposure, exploitability and compensating controls; a public, exploited medium outranks an unreachable critical.
Running unauthenticated scans and assuming coverage
Fix: Deploy credentialed scanning with vaulted credentials so local weaknesses are visible.
Closing tickets on the honor system
Fix: Rescan or retest every fix and track reopened findings as a quality signal.
Letting exceptions live forever
Fix: Require an owner, a compensating control and an expiry date, and auto-reopen when the waiver lapses.
Reporting total open findings as the headline metric
Fix: Report coverage, age distribution and SLA attainment, which describe effectiveness rather than volume.
Best Practices
- Automate discovery from cloud and directory sources so inventory does not depend on humans.
- Scan weekly for internet-facing assets and on a monthly cadence for the rest.
- Push scanning into CI for code, dependencies and images so issues are caught before deployment.
- Tie remediation SLAs to exposure and severity, and publish them so owners know the commitment.
- Review recurring root causes quarterly and fix the class with images, policies or guardrails.
Key Takeaways
- A vulnerability program is only as good as its asset inventory; unknown machines are unfixable risk.
- Authenticated scanning finds the majority of actionable issues; banner-based scanning finds the easy ones.
- CVSS is a language, not a ranking â combine it with exposure, exploitability and compensating controls.
- Verification converts claims into evidence; tickets closed without a rescan are unmeasured risk.
- Age distributions and SLA attainment reveal program health; raw totals mostly reveal company size.
- Exceptions with owners, compensating controls and expiry dates are legitimate; permanent waivers are not.