CVE, CVSS and Vulnerability Scanning

Understand how vulnerabilities are identified and scored, and how authorised scanners find them in your own environment.

Intermediate · about 6 hours · difficulty 2/5

Learn first: Asset Inventory

A vulnerability is a weakness that could be exploited. The industry uses shared identifiers and scores so everyone talks about the same issue in the same way.

Identifiers and databases

  • CVE: a unique ID like CVE-2021-44228 for a publicly known vulnerability, assigned via the CVE Program.
  • NVD: NIST's National Vulnerability Database adds scoring, affected product data (CPE) and references.
  • CWE: categories of weakness (for example CWE-79 or CWE-89) that describe the underlying mistake.
  • Vendor advisories are often the most accurate source for fixed versions.

CVSS

The Common Vulnerability Scoring System gives a 0 to 10 severity based on how it can be exploited and its impact. CVSS v4.0 is current, though v3.1 scores remain everywhere. Remember: CVSS measures severity, not risk in your environment.

Scanning your environment

  • Network and host scanners (such as OpenVAS/Greenbone, Nessus, Qualys) check systems for known issues.
  • Authenticated scans log in and see installed versions, giving far fewer false positives than unauthenticated scans.
  • Agent-based scanning suits laptops that are rarely on the office network.
  • Only scan systems you own or are authorised to test, and coordinate with system owners.

Pitfalls

  • Treating scanner output as truth without validating findings.
  • Scanning production during peak hours without warning.

Move on when you can look up a CVE, read its CVSS vector, run an authenticated scan against your own lab VM and explain the top finding.

Key concepts

  • CVE and the CVE Program
  • NVD and vendor advisories
  • CWE weakness categories
  • CVSS vectors and scores
  • Authenticated vs unauthenticated scans
  • OpenVAS / Greenbone lab
  • Validating findings

Mini project

Install Greenbone Community Edition, run an authenticated scan against a deliberately outdated lab VM you own, and write up the three highest findings with CVE, CVSS vector and vendor fix.

Check yourself

What is the difference between a vulnerability's CVSS severity and its risk to your organisation?

Free resources