Common Vulnerability Scoring System
Table of Contents
Common Vulnerability Scoring System
Description
CVSS provides a standardized way to measure the characteristics and severity of security vulnerabilities. It is not a metric for risk (which requires factoring in threat and asset value), but rather a measure of the technical severity of the flaw itself. This consistency allows different organizations and tools to assess vulnerabilities uniformly.
The CVSS score is derived from three metric groups, each calculated independently:
- Base Score: Represents the inherent technical characteristics of the vulnerability that are constant over time and across user environments. This is the score most commonly cited (0.0 to 10.0).
- Metrics: Attack Vector (AV), Attack Complexity (AC), Privileges Required (PR), User Interaction (UI), Scope (S), and the impact on Confidentiality (C), Integrity (I), and Availability (A).
- Temporal Score: Modifies the Base Score based on factors that change over time, such as the availability of patches, exploit code, or official remediation.
- Environmental Score: Customizes the Temporal Score by taking into account the specific environment of the end-user (e.g., the importance of the affected asset, compensating controls in place).
The final numerical score is mapped to a qualitative severity rating: None, Low, Medium, High, and Critical.
Examples
Base Score Calculation (CVSS v3.1): A common example is calculating the Base Score for a Remote Code Execution (RCE) vulnerability in a web server that requires no authentication.
| Metric | Value | Meaning |
| :— | :— | :— |
| Attack Vector (AV) | Network (N) | Exploit is remote (over the network). |
| Attack Complexity (AC) | Low (L) | Attack is easy to perform. |
| Privileges Required (PR) | None (N) | No credentials needed. |
| User Interaction (UI) | None (N) | No user action required. |
| Confidentiality (C) | High (H) | Total loss of data secrecy. |
| Integrity (I) | High (H) | Total corruption of data/system. |
| Availability (A) | High (H) | Total denial of service. |
| Resulting Score | 9.8 (Critical) | The mathematical formula yields a very high score due to ease of exploit and high impact. |
- Temporal Score Adjustment: A vulnerability initially has a Base Score of 8.0. If a vendor releases an official patch but the initial fix is incomplete, the Remediation Level (RL) temporal metric would slightly decrease the final score. Once a fully validated patch is released, the score is further reduced until systems are updated. Conversely, if a reliable, public exploit code is released, the Exploit Code Maturity (E) metric would increase the Temporal Score, making the vulnerability temporarily appear more urgent.