Available

Search posts

Understanding CVE CWE and CVSS

CVE identifies a publicly recorded vulnerability, CWE describes the underlying weakness, and CVSS communicates technical severity. Understanding their differences helps classify findings, justify severity, write actionable reports, and distinguish technical impact from remediation priority.

Vulnerability ManagementWeb Security #cve#cwe#cvss#reporting#authorization
Contents

A useful vulnerability report connects the observed behavior to its cause, its consequences, and a repair that can be tested. An identifier and a severity label cannot make that argument on their own.

I use three questions to keep the terminology separate: Which vulnerability is this? What weakness caused it? How severe is the behavior under the stated conditions? CVE, CWE, and CVSS answer different parts of that problem.

CVE identifies a vulnerability

Common Vulnerabilities and Exposures provides identifiers and records for publicly cataloged vulnerabilities. A CVE ID lets a vendor advisory, a scanner, and a report refer to the same issue. It is not a severity rating or proof that a particular installation is exploitable.

When investigating a real CVE, establish the affected product, version, configuration, prerequisites, and the vendor’s remediation. A matching software banner is a lead; a defensible finding also establishes applicability.

A custom application’s authorization failure can still be a valid security finding without a CVE. An identifier should not be borrowed from a different product merely because the symptoms look similar. Assignment follows the applicable CVE Numbering Authority process. A reserved ID is different from a published record. See the CVE Program’s CNA rules and the NVD explanation of record status.

CWE describes the weakness

Common Weakness Enumeration classifies conditions that can lead to vulnerabilities. A weakness can recur in unrelated products and therefore be associated with many findings or CVE records. CWE’s overview explains that distinction.

The classification should describe the underlying failure. CWE-639, for instance, describes authorization bypass through a user-controlled key. The relevant question is whether the server enforces the requester’s permissions on the selected object. The presence of a numeric identifier alone does not establish a vulnerability.

A useful classification supports remediation. Replacing sequential IDs with unpredictable identifiers may make discovery harder while leaving a missing authorization check intact. The weakness is the broken access decision, not simply the shape of the identifier.

CVSS describes technical severity

Common Vulnerability Scoring System expresses severity using a versioned metric vector and a score between 0.0 and 10.0. A report should include both the version and the reasoning behind its metrics. “CVSS 8” without a vector leaves a reviewer unable to reproduce the decision.

ScoreRating
0.0None
0.1–3.9Low
4.0–6.9Medium
7.0–8.9High
9.0–10.0Critical

CVSS v3.1 uses Base, Temporal, and Environmental groups. CVSS v4.0 uses Base, Threat, Environmental, and Supplemental groups. These are versioned models: a v3.1 vector cannot simply be relabeled v4.0. FIRST maintains the v3.1 specification and v4.0 specification.

A separate model, DREAD, uses Damage, Reproducibility, Exploitability, Affected Users, and Discoverability. Those are not the CVSS metrics.

Explain the conditions behind the score

A severity assessment needs to distinguish how an attack is performed from what happens after it succeeds.

QuestionWhat the assessment should establish
Where can the attack originate?Network, adjacent, local or physical access, as defined by the selected version
What conditions are required?Complexity, prerequisites and, in v4.0, Attack Requirements
What access does the attacker already need?Privileges required before exploiting the vulnerability
Does another person need to act?User interaction required for the attack
What information is exposed?Demonstrated confidentiality impact
What can be changed?Demonstrated integrity impact
What service can be disrupted?Demonstrated availability impact

Authentication and authorization are separate controls. If a normal account is required to reach the vulnerable function, the assessment should not describe the issue as unauthenticated. Similarly, evidence of unauthorized reading does not, by itself, demonstrate modification or service disruption.

Scope in v3.1 concerns security authorities; it does not automatically change whenever another user’s data is affected. In v4.0, the impact metrics distinguish the vulnerable system from subsequent systems. These decisions should follow the relevant definitions rather than intuition about how serious the finding feels.

Keep the version and vector together

Record the complete vector, the score it produces, and the assumptions used to select its values. Use the v3.1 calculator or v4.0 calculator for that version, and retain enough reasoning for another reviewer to challenge an individual metric.

Changing versions can change the assessment because the models ask different questions. The v4.0 Threat and Environmental groups also let an assessment express contextual information alongside Base severity. Supplemental metrics provide further information without changing the numerical score. FIRST’s v4.0 user guide explains these distinctions.

Use the three concepts together in a finding

Report elementPurpose
Title and affected componentIdentify the actual behavior and where it occurs
CVE, where applicableConnect the issue to the correct published vulnerability
CWEExplain the relevant weakness or cause
CVSS version, vector and scoreCommunicate technical severity and its assumptions
Reproduction and evidenceEstablish the prerequisites, actions and observed outcome
ImpactExplain the consequences supported by that evidence
RemediationAddress the cause with specific, actionable changes
RetestVerify the unauthorized behavior is blocked and legitimate functionality still works

The identifiers support the report; they do not replace the explanation. A reader should understand which boundary was crossed and why the observed outcome violates the application’s intended behavior.

The remediation should also match the cause. A missing server-side authorization check requires an authorization repair across the affected access paths. A vague recommendation to “improve security” does not tell the receiving team what to change or how to verify it.

Severity and remediation priority answer different questions

Technical severity is an input into prioritization. Exposure, data sensitivity, active exploitation, compensating controls, reachable assets, and business dependencies influence what the organization should address first.

Record that prioritization rationale separately instead of silently changing Base metrics to represent business urgency. This preserves the technical assessment while allowing the organization to make a decision that reflects its environment.

The reasoning should remain traceable: observed behavior → underlying weakness → justified severity → specific repair → verification. That connection is more useful than a collection of identifiers without an explanation.