CVSS scores explained: vectors, v4.0 and what the base score leaves out
CVSS (Common Vulnerability Scoring System) turns the technical properties of a vulnerability into a score from 0.0 to 10.0, and most scanners sort by it. The vector behind the score says who can attack and what they get. Neither the score nor the vector knows how exposed your servers are.
Score and rating
CVSS v3.1 and v4.0 map scores to the same five ratings:
| Rating | Score |
|---|---|
| None | 0.0 |
| Low | 0.1 – 3.9 |
| Medium | 4.0 – 6.9 |
| High | 7.0 – 8.9 |
| Critical | 9.0 – 10.0 |
The score is computed from a vector string, and two vulnerabilities with the same score can have very different vectors.
Reading a CVSS v3.1 vector
The v3.1 vector of Heartbleed (CVE-2014-0160), score 7.5:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
| Metric | Values | Heartbleed |
|---|---|---|
| AV, attack vector | Network, Adjacent, Local, Physical | N: over the network |
| AC, attack complexity | Low, High | L: works reliably |
| PR, privileges required | None, Low, High | N: no account needed |
| UI, user interaction | None, Required | N: nobody has to click |
| S, scope | Unchanged, Changed | U: impact stays in the vulnerable component |
| C, confidentiality | High, Low, None | H: memory with keys and passwords leaks |
| I, integrity | High, Low, None | N |
| A, availability | High, Low, None | N |
AV:N/PR:N/UI:N means anyone who can reach the port can attack. AV:L means the attacker already needs a shell on the machine. Dirty Pipe (CVE-2022-0847) scores 7.8 with AV:L/AC:L/PR:L: dangerous on a shared host or after a web app compromise, harmless to a stranger on the internet.
AC:H lowers the score. regreSSHion (CVE-2024-6387) scores 8.1, not 9.8, because the attack has to win a race condition: Qualys needed about 6 to 8 hours of connections on average against a 32-bit Debian 12 test machine.
v3.1 also defines Temporal metrics (exploit code maturity, remediation level, report confidence) and Environmental metrics (your own requirements). Almost all published scores are base scores only.
What changed in CVSS v4.0
FIRST published CVSS v4.0 on 2023-11-01. The changes from v3.1:
| Change | Details |
|---|---|
| Attack Requirements (AT) | a new base metric for conditions outside the control of the attacker, such as a race condition or a non-default setting |
| User Interaction (UI) | three values: None, Passive, Active |
| Scope (S) removed | impact is rated twice, on the vulnerable system (VC, VI, VA) and on subsequent systems (SC, SI, SA) |
| Threat metrics | replace the Temporal metrics; the only one is Exploit Maturity (E): Attacked, POC, Unreported. When E is not set, the calculation assumes Attacked, the worst case |
| Supplemental metrics | Safety, Automatable, Recovery and others add context and do not change the score |
| Nomenclature | a v4.0 score names the metric groups that went into it: CVSS-B is base only, CVSS-BT adds threat, CVSS-BE adds environmental, CVSS-BTE adds both |
FIRST scored two known cases in both versions:
| CVE | v3.1 base | v4.0 base + threat |
|---|---|---|
| CVE-2014-0160 Heartbleed | 7.5 | 8.7 |
| CVE-2021-44228 Log4Shell | 10.0 | 9.3 |
The Log4Shell v4.0 vector:
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A
Scores of v3.1 and v4.0 are not comparable. A scanner that shows "9.3" may be showing either version; check which.
What the base score leaves out
The CVSS v4.0 specification says the base score reflects "intrinsic characteristics which are constant over time" and "assumes the reasonable worst-case impact across different deployed environments". Threat and environmental information "is available to only the end consumer". The base score does not know:
- Whether anyone exploits the vulnerability. The CISA KEV catalog records confirmed exploitation and EPSS gives a probability. FIRST, which publishes both CVSS and EPSS, describes CVSS base scores and EPSS as "empirically uncorrelated".
- Whether the vulnerable code is reachable on your server. A 9.8 in a library function your application never calls is less urgent than a 7.5 in the TLS stack of your public web server.
- Whether the service is exposed. A network bug in a daemon that listens on 127.0.0.1 behaves like a local bug.
- How your distribution rates it. Red Hat uses Low, Moderate, Important and Critical; Ubuntu uses Negligible, Low, Medium, High and Critical. A CVE can be High in the NVD and Low for the package your distribution ships, because the vulnerable feature is compiled out or the default configuration blocks it.
One CVE often has several scores: the CNA, the NVD and the CISA ADP can each publish one. Prefer the score of the CNA or of your distribution, and look at the vector when they disagree.
Using CVSS
- Filter on severity as a first pass, but rank by exploitation (KEV, EPSS) and exposure. Prioritising vulnerabilities sets an order for small teams.
- Read
AVandPRfirst: they tell you who can attack. - When you publish your own advisories, publish the vector next to the number. The FIRST calculator at
https://www.first.org/cvss/calculator/4.0produces it.
Sources
- CVSS v4.0 Specification Document (metric groups, nomenclature, qualitative rating scale, version history with 2023-11-01)
- CVSS v4.0 Examples (Heartbleed and Log4Shell scores in v3.1 and v4.0)
- CVSS v3.1 Specification Document
- EPSS FAQ, FIRST ("empirically uncorrelated")
- CVE records with their CVSS vectors: CVE-2014-0160, CVE-2022-0847, CVE-2024-6387
- Red Hat: severity ratings and Ubuntu: CVE priorities
Check your servers every day
The Vulnpocalypse collector reports the packages and settings of a server once a day, and the digest lists what to fix, most urgent first.
Vulnpocalypse