ArticleslgStudy

computer science

Common Vulnerability Scoring System

Common Vulnerability Scoring System is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Common Vulnerability Scoring System rather than just read about it. In short: The Common Vulnerability Scoring System (CVSS) is a framework for rating the severity of computer system vulnerabilities. Scores are calculated from metrics that approximate the ease and impact of exploits.

Common Vulnerability Scoring System — main illustration
Common Vulnerability Scoring System — illustration

Key takeaways

  • Common Vulnerability Scoring System belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Common Vulnerability Scoring System to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Common Vulnerability Scoring System from memory before moving on to harder problems.

Reference excerpt

The Common Vulnerability Scoring System (CVSS) is a framework for rating the severity of computer system vulnerabilities. Scores are calculated from metrics that approximate the ease and impact of exploits. Scores range from 0 (minor) to 10 (severe). While many use only the CVSS Base score for determining severity, temporal and environmental scores also exist, to account for the availability of mitigations and the number of vulnerable systems within an organization, respectively. The current version of CVSS (CVSS v4.0) was released in November 2023. CVSS is not intended as a method for patch prioritization, but is often used as one regardless. A more effective approach is to integrate CVSS with predictive models like the Exploit Prediction Scoring System (EPSS), to prioritize remediation based on the likelihood of real-world exploitation.

History Research by the National Infrastructure Advisory Council (NIAC) in 2003/2004 led to the launch of CVSS version 1 (CVSS v1) in February 2005, being "designed to provide open and universally standard severity ratings of software vulnerabilities". This initial draft was not subject to outside review. In April 2005, NIAC selected the Forum of Incident Response and Security Teams to further develop CVSS. Feedback from vendors using CVSS v1 found "significant issues with the initial draft". Work on CVSS v2 began in April 2005 with the final specification being launched in June 2007. Further feedback lead to work on CVSS version 3 in 2012, with CVSS v3.0 being released in June 2015.

Terminology The CVSS assessment measures:

base metrics for qualities intrinsic to a vulnerability, temporal metrics for characteristics that evolve over the lifetime of vulnerability, and environmental metrics for vulnerabilities that depend on a particular implementation or environment. A score is generated for each group and a vector string represents the values of all the metrics as a block of text.

Version 2 Complete documentation for CVSS v2 is available from FIRST. A summary is provided below.

Base metrics

Access Vector The access vector (AV) shows how a vulnerability may be exploited.

Access Complexity The access complexity (AC) metric describes how easy or difficult it is to exploit the discovered vulnerability.

Authentication The authentication (Au) metric describes the number of times that an attacker must authenticate to a target to exploit it. It does not include (for example) authentication to a network in order to gain access. For locally exploitable vulnerabilities, this value should only be set to Single or Multiple if further authentication is required after initial access.

Impact metrics

Confidentiality The confidentiality (C) metric describes the impact on the confidentiality of data processed by the system.

Integrity The Integrity (I) metric describes the impact on the integrity of the exploited system.

Availability The availability (A) metric describes the impact on the availability of the target system. Attacks that consume network bandwidth, processor cycles, memory, or any other resources affect the availability of a system.

Calculations These six metrics are used to calculate the exploitability and impact sub-scores of the vulnerability. These sub-scores are used to calculate the overall base score.

Exploitability = 20 × AccessVector × AccessComplexity × Authentication Impact = 10.41 × (1 − (1 − ConfImpact) × (1 − IntegImpact) × (1 − AvailImpact))

BaseScore = roundTo1Decimal( ((0.6 × Impact) + (0.4 × Exploitability) − 1.5) × 𝑓(Impact)) The metrics are concatenated to produce the CVSS Vector for the vulnerability.

Example A buffer overflow vulnerability affects web server software, allowing remote users to gain partial control of the system, including the ability to cause shut-downs:

This would give an exploitability score of 10, and an impact score of 8.5, giving a base score of 9.0. The vector for this example's base score is AV:N/AC:L/Au:N/C:P/I:P/A:C. The score and vector are normally presented together to allow recipients to fully understand the vulnerability and to calculate their own score if necessary.

Temporal metrics The value of temporal metrics change over the lifetime of the vulnerability, as exploits are developed, disclosed and automated and as mitigations and fixes are made available.

Exploitability The exploitability (E) metric describes the current state of exploitation techniques or automated exploitation code.

Remediation Level The remediation level (RL) of a vulnerability allows the temporal score of a vulnerability to decrease as mitigations and official fixes are made available.

Report Confidence The report confidence (RC) of a vulnerability measures the level of confidence in the existence of the vulnerability and also the credibility of the technical details of the vulnerability.

Calculations These three metrics are used in conjunction with the base score that has already been calculated to produce the temporal score for the vulnerability with its associated vector. The formula used to calculate the temporal score is:

TemporalScore = roundTo1Decimal(BaseScore × Exploitability × RemediationLevel × ReportConfidence)

Example To continue with the example above, if the vendor were first informed of the vulnerability by a posting of proof-of-concept code to a mailing list, the initial temporal score would be calculated using the values shown below:

This would give a temporal score of 7.3, with a temporal vector of E:P/RL:U/RC:UC (or a full vector of AV:N/AC:L/Au:N/C:P/I:P/A:C/E:P/RL:U/RC:UC). If the vendor then confirms the vulnerability, then the score rises to 8.1, with a temporal vector of E:P/RL:U/RC:C A temporary fix from the vendor would reduce the score back to 7.3 (E:P/RL:T/RC:C), while an official fix would reduce it further to 7.0 (E:P/RL:O/RC:C). As it is not possible to be confident that every affected system has been fixed or patched, the temporal score cannot reduce below a certain level based on the vendor's actions, and may increase if an automated exploit for the vulnerability is developed.

Environmental metrics The environmental metrics use the base and current temporal score to assess the severity of a vulnerability in the context of the way that the vulnerable product or software is deployed. This measure is calculated subjectively, typically by affected parties.

… excerpt ends here. Continue reading the full article.

Illustrations

Common Vulnerability Scoring System illustration

Worked examples

Example 1 — a first encounter with Common Vulnerability Scoring System

Start with the simplest possible case. Write down what Common Vulnerability Scoring System claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Common Vulnerability Scoring System before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Common Vulnerability Scoring System ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Common Vulnerability Scoring System

In research
Common Vulnerability Scoring System appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Common Vulnerability Scoring System in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Common Vulnerability Scoring System is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer network security, Computer security standards, so understanding it makes those chapters shorter.
In everyday life
Look for Common Vulnerability Scoring System outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Common Vulnerability Scoring System” →

How to study Common Vulnerability Scoring System in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Common Vulnerability Scoring System means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Common Vulnerability Scoring System out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Common Vulnerability Scoring System in simple terms?

The Common Vulnerability Scoring System (CVSS) is a framework for rating the severity of computer system vulnerabilities. Scores are calculated from metrics that approximate the ease and impact of exploits.

Why does Common Vulnerability Scoring System matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Common Vulnerability Scoring System?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Common Vulnerability Scoring System.

Tags

  • Computer network security
  • Computer security standards

Keep exploring