CVSS scores explained: v3.1, v4.0 and why 9.8 is not your risk
CVSS (Common Vulnerability Scoring System) turns the technical properties of a vulnerability into a score from 0.0 to 10.0. Almost every scanner sorts by it. The vector behind the number says more than the score, and neither knows how exposed your own servers are.
Score and rating
Both 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 comes from a vector string. Always read the vector: two vulnerabilities with the same score can be very different.
Reading a CVSS v3.1 vector
This is 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 |
The vector tells a server owner more than the 7.5. 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 matters too. 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 main changes:
- Attack Requirements (AT) is a new base metric for conditions outside the control of the attacker, such as a race condition or a non-default setting.
- User Interaction has three values: None, Passive, Active.
- Scope is gone. Impact is rated twice: on the vulnerable system (VC, VI, VA) and on subsequent systems (SC, SI, SA).
- Threat metrics replace Temporal ones. The only one is Exploit Maturity (E): Attacked, POC, Unreported. When E is not set, the calculation assumes Attacked, the worst case.
- Supplemental metrics such as Safety, Automatable and Recovery add context and do not change the score.
- Nomenclature: a v4.0 score should say which metric groups went into it. CVSS-B is base only, CVSS-BT adds threat, CVSS-BE adds environmental, CVSS-BTE adds both.
The examples from FIRST show the difference for two well known cases:
| 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 is:
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.
Why the base score is not your risk
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". It also says threat and environmental information "is available to only the end consumer". In other words, the base score does not know:
- whether anyone exploits it. Use the CISA KEV catalog for confirmed exploitation and EPSS for the probability. FIRST, which runs 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.
- whether your distribution has a different view. Distributions rate packages on their own scales. 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.
Several scores for one CVE are normal. 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 sensibly
- Filter on severity as a first pass, but rank by exploitation (KEV, EPSS) and exposure. The guide on prioritising vulnerabilities gives an order that works for small teams.
- Read
AVandPRbefore anything else: 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 agent of Patchbrief reports the packages and settings of a server once a day; the digest names what to fix first.