Bookmarks
ReferenceCybersecurityVerified

Vulnerability management (CVE, CVSS)

Vulnerability management is the process of finding, assessing and fixing vulnerabilities. This reference covers CVE, CWE, CVSS, NVD, EPSS, scanning, SBOMs and disclosure.

checked 6 Nov · next check 13 Nov · 65 min read

Sections
12
Reading
65 min
Languages
RU · UZ · EN
Written from
cve.org

Check status of the reference

Verified 6 Nov · next check 13 Nov

The sections were compared with the release notes, the check found nothing, and all source links respond.

  1. Verified
  2. Scheduled check

What vulnerability management is and how it works

Vulnerability management is a continuous process that finds weaknesses in installed software, decides which to fix first, and sees each one through to an update and a check. It is a cycle of five steps, not a one-off scan.

The backbone of the process is regular updates. NIST SP 800-40 Rev. 4 describes enterprise patch management as preventive maintenance: planned work that prevents compromises and downtime rather than reacting to incidents. The other steps of the cycle (discovery, assessment and verification) are built around this routine.

Who maintains what

Vulnerability data does not arrive ready-made. Several organisations prepare it, each responsible for its own part. Along the pipeline, the data moves roughly like this:

OrganisationWhat it maintains
CVE ProgramCVE IDs and CVE records
MITRE CWEa dictionary of weakness types
FIRSTthe CVSS severity scale and the EPSS exploitation forecast
NIST NVDa government database built on CVE records
Vendorssecurity advisories about their own products

The CVE Program maintains a single numbering scheme: one publicly disclosed vulnerability gets one CVE-… identifier, and the record for it is written by the assigning organisation (the CVE Numbering Authority, or CNA). MITRE CWE is a separate dictionary of weakness types: a single type, such as an out-of-bounds write, appears in thousands of records.

FIRST develops CVSS and EPSS. CVSS is an open severity scale from 0 to 10; EPSS is the probability that a vulnerability will be exploited in real attacks within the next 30 days. NVD is a government repository of standards-based vulnerability management data that supplements CVE records with its own. Vendors publish security advisories about their own products, which are the primary source of information about fixes.

Steps of the cycle

Skipping any step breaks the others: without an inventory the scanner does not know what to check, and without assessment there is nothing to decide what to fix first.

At step 3, decisions are made on the combination of severity, exploitation probability and how important the system is.
  1. Inventory: a software bill of materials (SBOM) and a list of assets, so you know what is installed and where.
  2. Discovery: scanners, plus checks against vendor advisories and vulnerability databases.
  3. Assessment: severity from CVSS, exploitation probability from EPSS, and your organisation’s context.
  4. Remediation: patch, apply a workaround, or consciously accept the risk.
  5. Verification: confirm that the update is installed and the vulnerability is no longer detected; then the cycle repeats.

How it differs from a pentest and the OWASP Top 10

AspectVulnerability managementPentestOWASP Top 10
Goalfind and fix known vulnerabilitiesfind attack chainsname the main risks
Frequencycontinuousperiodic, under contracta new edition every few years
Outputa prioritised lista report of successful attacksten risk categories

The OWASP Top 10 is an awareness document about the most critical web application risks, reflecting the consensus of the OWASP community. It answers “what is most dangerous right now”, not “what is vulnerable in our systems”. For specific web application risks, see the OWASP Top 10 reference, “Overview” section.

What you need to know first

  • Linux packages, services and permissions: most updates are installed at the package level; see the “Linux server hardening” reference, “Updates” section.
  • HTTP requests and response statuses: advisories describe endpoints and attack vectors in these terms.
  • Git and CI/CD: a fix for a vulnerable dependency reaches production through a commit and a new release.

Section sources

the section is written from these pages

Checklist

Work through this list when you start a vulnerability management process and at each quarterly review: the process works only if every item is closed. The items are verifiable statements; for details, see the reference sections named in the “see section” notes.

Inventory

  • List every service: its repository, its owner, where it is deployed and who answers questions about it.
  • Generate a software bill of materials (SBOM) for each service at build time and store it next to the artefact.
  • Keep an up-to-date list of hosts, container images and third-party dependencies outside the code repositories.

Discovery

  • Run dependency scanning in CI on every change, and make a finding stop the build.
  • Scan code, images and hosts on a schedule, not only when something changes.
  • Subscribe to the security advisories of the components you use and to those of your distribution.

Assessment

  • Give every finding a CVSS score from the advisory or CVE record; see the “CVSS 4.0 and 3.1 scoring” section.
  • Add the exploitation probability (EPSS) and a note on whether it is in the Known Exploited Vulnerabilities (KEV) catalogue.
  • Check whether the vulnerable component is reachable from the internet and whether it holds your data; see the “Prioritisation: EPSS and context” section.
  • Do not wait for NVD to enrich the record: take the score from the vendor advisory once it is out.

Remediation

  • Set deadlines by severity level and measure how long findings stay past them.
  • Update the dependency to a fixed version and run your own tests in a test environment before release.
  • If there is no fixed version, or it breaks the service, mitigate the risk: disable the vulnerable feature or isolate it.
  • Record every exception with a reason and a review date: an exception without an expiry does not count.
  • Accept risk formally, not silently: the decision belongs to the risk owner, not the developer.
  • After remediation, rescan the service and confirm that the finding is closed; see the “Remediation and exceptions” section.

Disclosure

  • Publish a security.txt with a contact address and an expiry date; see the “Vulnerability disclosure” section.
  • Describe the reporting path in your disclosure policy: where to write, how soon to expect a reply and what happens to the report.
  • Set up a channel for incoming reports and test it: a report that lands in a shared mailbox can sit unread for years.

Quarterly review

  • Compare the inventory with reality: new services, decommissioned hosts, updated SBOMs.
  • Check that the scanners in CI and on a schedule actually run and that someone triages their findings.
  • Review all exceptions: deadlines, reasons and whether vulnerable versions are still in use.
  • Walk one recent finding through the whole process, from discovery to the rescan.

NIST describes organisation-wide fix planning as part of preventive maintenance, which helps prevent compromise, data breaches and downtime. Move systems that have fallen behind schedule to a separate list with a date by which they will be brought up to date.

Section sources

the section is written from these pages

Core terms: CVE, CWE, CVSS, CPE, EPSS

CVE, CWE, CVSS, CPE and EPSS are not synonyms but different things: CVE numbers specific vulnerabilities, CWE describes a type of weakness, CVSS rates severity, CPE names products, and EPSS predicts the likelihood of exploitation. A CVE ID points to a flaw; everything else helps you decide what to do about it.

Three basic terms

According to the NIST glossary, a vulnerability is a weakness in a system, its procedures or its implementation that a threat source can exploit or accidentally trigger. A weakness is simply a flaw in a system or its procedures; a vulnerability is the same flaw in an installed system, where it can be exploited.

An exploit is ready-made code or a technique that uses a vulnerability to bypass protection. A zero-day attack uses a vulnerability that the vendor does not yet know about: there is no patch, so the only defence is mitigation. Once a vulnerability is closed by an update, an exploit against it is useless.

All the terms in one table

Seven terms you will meet in every database and advisory, and three artefacts to cross-check against:

TermWhat it isMaintained byExample
CVEa public vulnerability with an ID such as CVE-2021-23337CVE Program; records are filled in by CNAsCVE-2021-23337
CWEa dictionary of weakness types: one type covers thousands of vulnerabilitiesMITRECWE-94, code injection
CVSSa severity score from 0.0 to 10.0 based on a vector of metricsFIRST7.2 (High)
CPEthe name of a product class in the format cpe:2.3:a:…NIST, part of SCAPcpe:2.3:a:lodash:lodash
EPSSprobability of exploitation within 30 days, from 0 to 1FIRST0.21 for CVE-2021-23337
KEVa catalogue of vulnerabilities that are actually being exploitedCISAa field in NVD records indicating inclusion
CNAthe organisation that assigns the ID and fills in the recordCVE Programa vendor, project or CERT
Advisorya vendor’s notice about a fix in its productvendors and projectsDSA-…, USN-…, GHSA-…
SBOMa list of the components the software is built fromsoftware producersCycloneDX format
VEXa document stating whether a specific product version is affectedsoftware producersstatuses affected, fixed

How the terms fit together

The diagram below links the terms into one chain. CWE describes the type of error, CVE a specific flaw in a specific product, and CPE names that product. CVSS and EPSS provide scores, and the priority is decided in context: which of the products named in CPE you actually run, and what is being exploited in the wild.

Dashed lines show the data that refines the priority: the KEV catalogue, vendor advisories, and SBOMs with VEX.

One vulnerability gets one CVE ID, but appears in several lists at once: a vendor advisory restates the CVE record with installation details, NVD adds its own data to it, and a scanner matches versions by CPE. That is why searching by CVE ID returns all the sources at once.

A worked example

Take a real vulnerability in the npm library lodash: the _.template function inserted the template text as code, so an attacker who controlled that text could execute arbitrary code. All the terms in this section appear in a single record:

jsonexcerpt from the CVE-2021-23337 record
{  "cveMetadata": {    "cveId": "CVE-2021-23337",    "assignerShortName": "snyk",    "state": "PUBLISHED"  },  "containers": {"cna": {    "affected": [{"vendor": "n/a", "product": "Lodash",                  "versions": [      {"status": "affected", "version": "prior to 4.17.21"}    ]}],    "descriptions": [{"lang": "en",      "value": "Command Injection via the template function"}]  }}}

Here CVE-2021-23337 is the ID, and the record was filled in by the CNA Snyk; lodash versions before 4.17.21 are affected. NVD adds to this record the weakness type CWE-94 (improper control of code generation), a severity score and a CPE name. The GHSA advisory GHSA-35jh-r3h4-6jhm in the GitHub database describes the same flaw for npm and RubyGems packages, and FIRST’s EPSS estimates the probability of exploitation.

bashon the host
# severity from the NVD recordcurl -s "https://services.nvd.nist.gov/rest/json/cves/2.0\?cveId=CVE-2021-23337" | jq '.vulnerabilities[0].cve.metrics'
bashon the host
# exploitation probability from EPSScurl -s "https://api.first.org/data/v1/epss?cve=CVE-2021-23337" \  | jq '.data[0] | {epss, percentile}'

The results: the CVSS 3.1 severity is 7.2 (High) with the vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H; the EPSS score is 0.21, meaning about a 21% chance of exploitation over the next 30 days, higher than for 98% of all records. It is worth patching sooner than the severity score alone suggests.

How an advisory differs from a CVE record

A CVE record describes the flaw; a vendor advisory tells you how to close it in your environment. For lodash, Debian issued the advisory DLA-4820-1 and Ubuntu USN-8411-1, which say which packages to update and in which releases. The GHSA advisory in the GitHub database adds the affected ecosystems and the versions in which the flaw is fixed. The CVE Program does not write about fixes; that is the job of whoever releases the update.

bashon the host
# GHSA advisory from the GitHub database: package and fixed versioncurl -s https://api.osv.dev/v1/vulns/GHSA-35jh-r3h4-6jhm \  | jq '{package: .affected[0].package.name,         fixed: .affected[0].ranges[0].events[1].fixed}'

Why SBOM and VEX matter

A software bill of materials (SBOM) is a formal document listing the components the software is built from and their suppliers. It answers “what is installed”, and a scanner uses it to find systems running lodash before 4.17.21. A VEX document answers “is this particular build affected”: the statuses fixed and not_affected, with a justification, remove some findings when the flaw does not affect your configuration.

The same VEX document can be exchanged in CycloneDX format, which describes both the list of components and the known vulnerabilities. For how to produce the list and work with VEX, see the “Scanning and SBOM” section; for how to calculate scores, see “CVSS 4.0 and 3.1 scoring” and “Prioritisation: EPSS and context”.

Section sources

the section is written from these pages

CVE records and identifiers

A CVE record is a structured description of a single vulnerability in JSON format: the identifier, affected products and versions, the weakness type, and references. An ID such as CVE-2024-24790 is assigned by a CVE Numbering Authority (CNA), and published records are collected in the official CVE List.

The ID itself describes nothing; it is an address. You use it to find the record in the CVE List, in a vendor’s security advisory and in vulnerability databases. For how CVE differs from CWE and CVSS, see the “Core terms: CVE, CWE, CVSS, CPE, EPSS” section.

Identifier format

An identifier looks like CVE-2024-24790: a four-digit year, a hyphen and a sequence number. The record schema describes it with the expression ^CVE-[0-9]{4}-[0-9]{4,19}$: the number has from 4 to 19 digits and grows longer as four-digit numbers run out. Neither the year nor the number encodes the product or the severity; always read the record itself.

Who assigns and who supplements

The identifier and the record are written by a CVE Numbering Authority (CNA), a participant in the CVE Program: a vendor, an open-source project or a coordinator who handles reports of flaws. A record has exactly one CNA, the one that assigned the ID. A CNA is expected to provide a mandatory minimum: the affected product, versions, the weakness type, a coherent description and at least one reference.

Other participants in the programme add to the record in ADP (Authorized Data Publisher) containers; there can be several. Since 31 July 2024, references added by the CVE Program itself go into a separate “CVE Program Container”; CNA references stay in the CNA container. CISA-ADP adds SSVC (Stakeholder-Specific Vulnerability Categorization) scores and KEV catalogue data on exploited vulnerabilities, and fills in missing CVSS scores and CWE types.

Record states

An ID’s lifecycle begins with reservation: the date is visible in the dateReserved field even before publication. A record exists in one of two states: PUBLISHED, when the data is filled in and public, and REJECTED, when the assigned ID has been withdrawn. A rejected record does not disappear; it stays in the list with the reasons in the rejectedReasons field. Every change to a record increments the serial counter, which starts at one.

Updates do not change the ID: every change to a record increments serial.

What a record consists of

A record is a JSON object made up of metadata and containers holding the vulnerability data. The metadata is maintained automatically by CVE Services; the contents of the containers come from organisations.

Part of the recordWhat is inside
dataType, dataVersionthe content type CVE_RECORD and the schema version of the format
cveMetadatathe ID, the state, who assigned it (assignerShortName), the reservation, publication and update dates, and the serial counter
containers.cnathe mandatory CNA container: description, the affected block, CWE weakness types, references, metrics
containers.adpoptional ADP containers: the “CVE Program Container” and CISA-ADP additions

Affected product versions

Affected products are listed in the affected block. A product is identified by the pair vendor and product, and a package from a registry by the pair collectionURL and packageName; since format version 5.2.0 (October 2025) it can also be identified by the packageURL field (Package URL). The status of any version is worked out by an algorithm: each entry in the versions list sets the status for one version or range, and every other version gets the status from defaultStatus: affected, unaffected or unknown.

A range is described by the versionType field and lessThan or lessThanOrEqual. The comparison order depends on the versioning scheme: semver for semantic versions, and also maven, rpm and python. By convention, "version": "0" means a range with no lower bound and * one with no upper bound. For software in repositories, a range can also be given in commits: versionType: "git", a repo field and a changes list showing which commits introduced and fixed the flaw.

jsonexcerpt from the CVE-2024-24790 record
{  "vendor": "Go standard library",  "product": "net/netip",  "defaultStatus": "unaffected",  "versions": [    {      "version": "0",      "versionType": "semver",      "lessThan": "1.21.11",      "status": "affected"    }  ]}

Where to look at records

The official list is the CVEProject/cvelistV5 repository: a copy of the entire CVE list in CVE JSON 5 format, updated from the CVE Services API about every 7 minutes. Pull fresh records with git pull; the Releases page holds daily baseline archives and hourly deltas. The old export formats (CSV, HTML, XML and CVRF) have not been supported since 30 June 2024. The repository does not accept pull requests: changes to records go through the CVE Program.

bashon the host
# the official list of CVE recordsgit clone https://github.com/CVEProject/cvelistV5.git# new and changed records since the clonegit -C cvelistV5 pull# the vulnerability description from a recordjq -r '.containers.cna.descriptions[0].value' \  cvelistV5/cves/2024/24xxx/CVE-2024-24790.json

Combined views of a record are found in vendor advisories and in NVD: advisories restate and extend records about their own products, and NVD adds its own data to records; see the “NVD and vulnerability data” section.

A record, field by field

Let us go through a real record, CVE-2024-24790: the Is methods of the net/netip package in the Go standard library returned the wrong result for IPv4 addresses written in IPv6 form. The record shows all the parts discussed above:

FieldIn the exampleWhat it means
cveMetadata.statePUBLISHEDthe record is published
assignerShortNameGothe record was written by the Go project’s CNA
containers.cna.affectednet/netip, versions before 1.21.11 and before 1.22.4the affected package and two version ranges
containers.cna.problemTypesCWE-180the weakness type from the CWE dictionary
containers.adpCISA-ADP: CVSS 3.1 9.8, SSVCscores added by an authorised publisher

Further along the pipeline: how a severity score is derived from a record’s metrics is covered in the “CVSS 4.0 and 3.1 scoring” section, and how to choose what to fix first, in “Prioritisation: EPSS and context”.

Section sources

the section is written from these pages

CVSS 4.0 and 3.1 scoring

CVSS (Common Vulnerability Scoring System) is an open system from FIRST for rating the severity of vulnerabilities: each vulnerability gets a number from 0.0 to 10.0 and a vector, the string the number is built from. The current version is CVSS 4.0, but the previous one, 3.1, still appears in advisories and databases.

A score describes how severe a vulnerability is in itself, not the risk to your organisation: vendors and databases such as NVD set the base metrics, assuming the worst reasonable scenario. The same number in 4.0 and 3.1 does not mean the same severity, because the versions use different metrics and formulas.

CVSS 4.0 builds a score from four metric groups. The Base group is mandatory: it describes the vulnerability regardless of time and environment. The Threat group refines the score with exploit maturity, and Environmental refines it with your environment. Supplemental metrics do not change the number; they are context for your analysis.

The score label shows which metric groups it includes.

Score labels

Listing every metric that was used each time would be tedious, so a score carries a short label: the letters after the hyphen name the groups that went into the calculation.

LabelMetrics included
CVSS-BBase only
CVSS-BTBase and Threat
CVSS-BEBase and Environmental
CVSS-BTEBase, Threat and Environmental

Base metrics

There are eleven base metrics: five describe how the vulnerability is exploited, and six describe what the attack leads to. Each metric takes one value; the closer the value is to the worst case, the higher the score.

MetricValuesWhat it covers
AV Attack VectorN A L Pwhere the attack comes from: network, adjacent network, local, physical
AC Attack ComplexityL Hwhether the attacker must bypass built-in defences
AT Attack RequirementsN Pwhether success depends on deployment conditions
PR Privileges RequiredN L Hwhat access rights the attacker needs before the attack
UI User InteractionN P Awhether another person is needed, and how actively
VC VI VAH L Nloss of confidentiality, integrity and availability of the vulnerable system
SC SI SAH L Nthe same impacts on subsequent systems

The vulnerable system is the one where the vulnerability lives; subsequent systems are those beyond its boundary, such as a neighbouring service, user data or a shared network. The most severe base vectors are network attacks that need no preparation, privileges or user involvement: in FIRST’s examples, such a vector with full impact on both the vulnerable and subsequent systems scores 10.0.

Reading a vector

A vector is a single string: a prefix with the version, then “metric:value” pairs in a fixed order. Base metrics are mandatory and the rest can be omitted: missing Threat, Environmental and Supplemental metrics are treated as not defined (X). An undefined exploit maturity means the worst case: the calculation assumes an exploit is already in active use (E:A).

texta CVSS 4.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
FieldMeaning
CVSS:4.0the version the vector is written in
AV:Nnetwork attack
AC:Llow complexity: built-in defences do not get in the way
AT:Ndeployment conditions do not matter
PR:Nno privileges needed
UI:Nno user involvement
VC:H VI:H VA:Hcomplete loss of confidentiality, integrity and availability of the vulnerable system
SC:N SI:N SA:Nsubsequent systems are not affected

In FIRST’s examples, this vector without Threat metrics gives a base score of 9.3, Critical.

Severity scale

A number is mapped to a rating by one scale in both 4.0 and 3.1: the thresholds are the same. The scale is optional; the standard requires publishing the number and the vector, and the rating is added for convenience.

RatingRange
None0.0
Low0.1–3.9
Medium4.0–6.9
High7.0–8.9
Critical9.0–10.0

CVSS 3.1: Scope and comparison

Version 3.1 has eight base metrics: there is no AT metric, and instead of six impact metrics there are three (C, I, A) plus a separate Scope metric (S). S:U means the impact stays within the security boundary of the vulnerable component, and S:C means it spreads to other components. In 4.0 this distinction is expressed directly: the VC–VA metrics describe the vulnerable system, and the SC–SA metrics describe neighbouring ones.

WhatCVSS 3.1CVSS 4.0
Base metrics811
Attack conditionsnoneAT, a new metric
ImpactC I AVC–VA and SC–SA
Impact boundaryS:U or S:Cvisible from SC–SA
Metric groupsBase, Temporal, EnvironmentalBase, Threat, Environmental, Supplemental
E valuesX H F P UA P U; X is treated as the worst case

FIRST calculator

There is no need to calculate a score by hand: FIRST publishes an official calculator for both 4.0 and 3.1. Select the metric values and the page shows the number, the rating and the finished vector. Check a vector from someone else’s advisory with the calculator too: it repeats the calculation and shows whether all fields are present.

A score is an input to prioritisation, not prioritisation itself; for how to add EPSS and asset context, see the section “Prioritisation: EPSS and context”. For how CVSS relates to CWE and where vulnerability data ends up, see the sections “Concepts: CVE, CWE, CVSS, CPE, EPSS” and “NVD and vulnerability data”.

Section sources

the section is written from these pages

NVD and vulnerability data

NVD is NIST’s database built on top of the CVE list: to each published record it adds its own CVSS scores, CWE weakness types, CPE configurations with the affected versions, and tagged references. All of this data is served by the open API 2.0.

The CVE list numbers vulnerabilities but does not always score them (see the section “CVE records”). NVD usually picks up records from there within an hour and adds what a scanner and an inventory lack: product names, severity scores and a flag for inclusion in the KEV catalogue.

What NVD adds to a record

By NIST’s glossary, NVD is the US government repository of vulnerability management data in SCAP format. NVD staff do not research vulnerabilities themselves: they gather information from the record’s description, its references and open sources at the time of enrichment. NVD does not publish records or disclose vulnerabilities.

API response fieldWhat it contains
metricsCVSS 2.0, 3.1 and 4.0 scores with vectors: NVD’s own score (nvd@nist.gov, type Primary) and scores from third-party sources
weaknessesCWE weakness types from NVD and other sources
configurationsa tree of conditions with CPE strings: which products and versions are affected
referenceslinks with NVD tags: vendor advisory, patch, exploit
cisaExploitAddKEV catalogue fields: date added and required action, only for vulnerabilities in the catalogue

Every record has the fields of the CVE database itself: id, published, lastModified and a description. New fields appear as enrichment proceeds: while a record’s status is Received or Undergoing Analysis, it may have no scores or configurations yet.

The CPE product name

Configurations are built on CPE names, a NIST standard for naming classes of products. A name consists of 13 colon-separated values: the first two are always cpe and 2.3, followed by 11 components: part, vendor, product, version and seven more qualifiers.

textCPE strings from an NVD record
cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*cpe:2.3:o:microsoft:windows_10:1607:*:*:*:*:*:*:*# part: a = application, o = OS, h = hardware# * = any value, “-” = no value

A name identifies a class of product, not an installed instance: a scanner matches the names from its inventory against the match strings in a record and so finds the vulnerabilities of each product. Version range boundaries in the strings are set by the fields versionStartExcluding, versionEndIncluding and their counterparts.

Strings from configurations are searched with two API parameters. cpeName returns matches by name; the part, vendor, product and version must be filled in. virtualMatchString filters more broadly, using match strings where wildcards may stand in for components and a range is set with the pairs versionStart and versionStartType, or versionEnd and versionEndType, with the values including or excluding.

bashon the host
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0\?cpeName=cpe:2.3:a:apache:log4j:2.14.1:*:*:*:*:*:*:*" \  | jq '.totalResults'
text
# example output10

Requesting a record by ID

The base URL is rest/json/cves/2.0 on services.nvd.nist.gov. The cveId parameter returns a record by ID, as in this example with Log4Shell (CVE-2021-44228):

bashon the host
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0\?cveId=CVE-2021-44228" -o record.jsonjq '.totalResults, .resultsPerPage, .version' record.jsonjq '.vulnerabilities[0].cve |  {id, published, lastModified, vulnStatus}' record.json
text
# example output112.0{"id":"CVE-2021-44228", "published":"2021-12-10T10:15:09.143", "lastModified":"2026-08-11T19:33:44.513", "vulnStatus":"Analyzed"}

The response is a vulnerabilities wrapper with an array of records; for one ID it has a single element. Read scores per CVSS version: for Log4Shell, NVD’s 3.1 score is 10.0 CRITICAL with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

bash
jq -r '.vulnerabilities[0].cve.metrics.cvssMetricV31[]  | select(.type=="Primary")  | [.cvssData.baseScore, .cvssData.baseSeverity] | @tsv' \  record.json
text
# example output10.0	CRITICAL

To list records for a period, use publication or modification date ranges: ISO 8601 with a time, in a window of no more than 120 days. A page holds up to 2,000 records; get further pages with startIndex.

bashon the host
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0\?pubStartDate=2026-11-05T00:00:00.000\&pubEndDate=2026-11-06T00:00:00.000" \  | jq '.totalResults'

Whose score to trust

CNA and NVD scores often differ, and that is normal: NVD scores from open data available at the time of enrichment, does not copy the vendor’s vector, and where the data has a gap or a contradiction it picks the worst case.

In the metrics field, each metrics block has a type: Primary is the score from NVD or from a provider-level vendor according to CVMAP, and Secondary is everything else. For a decision, take the CNA’s score from the advisory when there is one, because the vendor knows its product. NVD is useful as a second opinion and as a common scale for heterogeneous software.

The KEV flag

Inclusion in CISA’s Known Exploited Vulnerabilities catalogue shows in the fields cisaExploitAdd, cisaActionDue and cisaVulnerabilityName. For Log4Shell, the date added matches the record’s publication date: the catalogue added it on the day of disclosure.

bash
jq -r '.vulnerabilities[0].cve |  {name: .cisaVulnerabilityName, added: .cisaExploitAdd,   due: .cisaActionDue}' record.json
text
# example output{"name":"Apache Log4j2 Remote Code Execution Vulnerability", "added":"2021-12-10", "due":"2021-12-24"}

The cisaActionDue field is a deadline for US government agencies and prescribes nothing for anyone else, but the KEV flag itself is a signal to revisit priority. For how to build it and EPSS into the fixing order, see the section “Prioritisation: EPSS and context”. The hasKev filter returns only catalogue records.

Downloading the whole database

For your own copy, NVD advises against rereading everything and recommends catching up on changes instead: the first run goes by publication date, and after that you query for modified records no more than once every two hours.

bashon the host
# catch up on records modified within the windowcurl -s -G "https://services.nvd.nist.gov/rest/json/cves/2.0" \  --data-urlencode "lastModStartDate=2026-11-05T00:00:00.000" \  --data-urlencode "lastModEndDate=2026-11-05T08:00:00.000" \  | jq '.totalResults'

Rejected records are returned even without a filter; exclude them with the noRejected parameter. Products and match strings are served by separate APIs, rest/json/cpes/2.0 and rest/json/cpematch/2.0: the first is the official CPE dictionary, and the second holds match strings with version ranges.

Section sources

the section is written from these pages

Prioritisation: EPSS and context

When there are hundreds of vulnerabilities, the fixing order is set by decisions, not scores. CVSS severity and EPSS probability combine with your own facts: whether an exploit exists, whether the host is reachable from the internet, and how valuable the asset is.

First come everything that is already being exploited (KEV) and everything reachable from the internet. Then high EPSS on important assets, and only after that the severe but quiet records.

Why a CVSS score is not enough

A CVSS base score answers the question “how dangerous is the flaw in the worst case” and says nothing about whether anyone will exploit it. Scores are skewed upwards: a large share of published records land in Critical and High, so a plan to “fix everything Critical” does not shorten the queue.

Exploitation, meanwhile, is rare: in a 30-day window it is observed for roughly 2–3% of published records. The Critical group is several times larger than the group that is actually exploited, so severity alone is not enough to choose what to fix today.

CVSS and EPSS measure different things: severity is the consequence in the worst-case scenario, and probability is the chance that exploitation will be seen in the next 30 days. You need both values at once.

How to read EPSS

EPSS (Exploit Prediction Scoring System) is a FIRST model. For each CVE record it gives the probability of exploitation in the next 30 days: a number from 0 to 1, updated daily. A value of 0.05 means roughly 5 in 100 records with that score, or 1 in 20 over a month.

Alongside the probability, a percentile is published: the record’s position among all scored records. Most CVEs are never exploited, so scores cluster near zero: the median is about 0.007, and 0.10 is already around the 95th percentile.

bashon the host
curl -s "https://api.first.org/data/v1/epss?cve=CVE-2021-44228" | jq '.data[0]'
jsonexample output
{  "cve": "CVE-2021-44228",  "epss": "0.999990000",  "percentile": "1.000000000",  "date": "2026-11-05"}

A working habit: the probability answers “what will happen”, and the percentile answers “how unusual is it”. It is easier to move a threshold by percentile: a threshold at the 90th percentile cuts off a tenth of the stream.

Matrix: severity and probability

Two attributes, CVSS severity and EPSS probability, form four quadrants. Set the boundaries once and write them into your policy: the matrix below uses the 90th EPSS percentile (about 0.04) and the CVSS High boundary of 7.0.

Fix the matrix boundaries in your policy

The dangerous quadrant is the upper right: high severity and high probability. Fix it out of turn, within days.

Exploitation signals: KEV and fresh data

The KEV catalogue confirms attacks that have already happened: each entry is a fact from the past, not a forecast. A fresh KEV entry is grounds to raise priority at any EPSS score; over the years the signal weakens, and the record returns to ordinary scoring.

KEV priority is applied before the matrix: a catalogue record is an out-of-turn candidate for patching. EPSS is useful for the remaining records, which are the majority.

Asset context: exposure and value

An EPSS score describes the world, not your infrastructure. To make a decision, check it with three questions: is the vulnerable version installed, is the host reachable from the internet, and what runs on it. The same CMS bug on an internet-facing site and on a test bench means different amounts of work.

The CVSS guidance recommends joining scan results with an asset inventory: asset class, confidentiality and availability requirements, and an Exposure flag showing whether the host is reachable from the internet. This turns a CVSS-B base score into an Environmental CVSS-BE score that reflects your environment.

The greatest effect comes from the intersection: high EPSS, a confirmed vulnerable version, internet exposure and a valuable asset. If any of the three is missing, urgency drops, whatever the score says.

A worked example: five CVEs

Five records from NVD: the severity score, EPSS probability and percentile, KEV catalogue status and context. EPSS and KEV values are as of 2026-11-05. For the 2013 record, NVD holds only a CVSS 2.0 score.

CVECVSS (NVD)EPSSPercentileKEVContext
CVE-2021-4422810.0 Critical0.999991.0000yesLog4j, externally reachable
CVE-2023-48638.8 High0.999790.9998yesBrowsers and libwebp, workstations
CVE-2022-229659.8 Critical0.996380.9995yesSpring Framework, externally reachable
CVE-2013-55766.8 Medium (2.0)0.481910.9887noJoomla, externally reachable
CVE-2024-12345.4 Medium0.015930.7580noCMS plugin, account required

The resulting order does not follow the score. CVE-2023-4863 catches up with CVE-2021-44228 on probability and is also closed immediately: attacks on it have been recorded, and the update depends on browser builds and libwebp. CVE-2013-5576, despite a Medium score, is a task for the next window: a probability of 0.48 is one chance in two.

CVE-2024-1234 stays on the normal schedule: the probability is 1.6%, and an attack needs an account in the CMS. The consequences depend on the site: on an internal test bench there is little harm, but on a large public site visitors would see an injected script, so priority is higher there.

  1. CVE-2021-44228: immediately. KEV, Critical, externally reachable.
  2. CVE-2022-22965: immediately. KEV, Critical, externally reachable.
  3. CVE-2023-4863: immediately. KEV, attacks on browsers through libwebp.
  4. CVE-2013-5576: next window. Probability 0.48, external access.
  5. CVE-2024-1234: as planned. EPSS 1.6%, the exploit requires an account.

Remediation deadlines: an internal rule

The matrix sets the queue, and deadlines come from your organisation’s policy. Draw up a table and stick to it.

PriorityHow it was determinedDeadline
Out of turnKEV, exploit, external access, Critical24–72 hours
SoonEPSS above the 90th percentile, important asset7–14 days
As plannedMedium severity, no external access30 days
When possibleEPSS below the 10th percentile, no known exploitationnext release

The numbers in the table are a sample, not a standard: take them as a starting point and adjust them to your release cycles, change windows and agreements with system owners.

Learn more

For how scores and vectors are built, see the section “CVSS 4.0 and 3.1 scoring”. For where the data for the table comes from, see the section “NVD and vulnerability data”. For what to do with the chosen records, see the section “Remediation and exceptions”.

Section sources

the section is written from these pages

Scanning and SBOM

A dependency scanner checks a project’s libraries and images against security advisory databases and finds the CVE records that affect your versions. This kind of search is called software composition analysis (SCA): it looks not for defects in your own code but for known vulnerabilities in the components you use.

SCA, SAST and DAST

Vulnerability-finding tools fall into three kinds. Static application security testing (SAST) analyses your application’s source code, dynamic application security testing (DAST) probes the running application from outside, and SCA works with the list of components and does not read the project’s code.

AspectSCASASTDAST
What it examinesthe list of libraries and their versionsthe application’s source codethe running application from outside
What it findsCVE records in dependencies and imagesweaknesses in your own codeSQL injection, XSS, insecure settings
What it needsdependency manifestssource codea running instance of the application
When to runevery PR and on a scheduleevery PRafter release, periodically
Examplepip-audita static code analysera web application scanner

Dependency scanning usually comes first: the fact that “the project contains a library with a vulnerable version” can be checked accurately and cheaply. The rest of this section covers SCA only.

Ecosystem tools

Each ecosystem publishes security advisories, which are CVE records for vulnerabilities in its packages, along with a tool to use them. npm audit sends the dependency tree from package-lock.json to the registry and gets a report back: without flags the command fails on any finding, and --audit-level sets the minimum severity at which CI exits with an error. pip-audit checks an environment and dependency files against the PyPI database. govulncheck goes beyond versions: it matches vulnerable functions against the call graph of your code and reports only the reachable ones. OWASP Dependency-Check works with several ecosystems at once: it determines a Common Platform Enumeration (CPE) name for each library and uses it to find CVE records in the National Vulnerability Database (NVD).

bashin CI
# fails only if there are findings of high severity or abovenpm audit --audit-level=high
bashlocally or in CI
pip-audit -r requirements.txtgovulncheck ./...

The build’s failure threshold can be set for pip-audit too: the command returns exit code 1 on any finding, and severity is separated out in the CI/CD step, for example with --format json and jq in the step’s script.

Where to run it

Different checks need different frequencies. A quick ecosystem audit goes on every PR: npm audit and pip-audit run in seconds and fail with a non-zero exit code on their own when a finding is above the threshold. Heavy checks, such as Dependency-Check with its NVD download, govulncheck and image audits, run on a schedule on the main branch so they do not slow down development. Check images before publishing: they contain versions that appear in no manifest.

  • On every PR: a quick audit of the ecosystem’s dependencies.
  • On the main branch, on a schedule: the full set of scanners.
  • Before publishing: a check of the built images.

SBOM and Dependency-Track

A software bill of materials (SBOM) is a machine-readable list of everything a product is built from: components, their versions and the dependencies between them. There are two standards: CycloneDX (the ECMA-424 standard) and SPDX. Many scanners produce an SBOM in the same run as the report.

bashin CI
pip-audit -r requirements.txt \  --format cyclonedx-json \  --output sbom.cdx.json

A CI report answers “what is vulnerable now”, but not “what will become vulnerable tomorrow”. For the second, SBOMs are handed to a monitoring service such as OWASP Dependency-Track. It accepts CycloneDX through its REST API and CI plugins, builds an inventory of components across the whole portfolio and continuously checks it against vulnerability data sources, including exploit probability scores (EPSS). When a new CVE is published, the service rechecks the SBOMs it already holds, so there is no need to rescan the build.

False positives

A scanner states “the project contains a component with a vulnerable version”, not “the project is vulnerable”. The vulnerable code may sit in a transitive dependency that you never call, or in a feature branch that the application does not use. Such a finding is not a scanner error but a prompt to make a decision: update the component or accept the vulnerability with a justification.

  • The CVE or advisory ID and the component version.
  • Why the finding does not apply to your code: the call path is unreachable or the function is not used.
  • Who made the decision and when to review it.
  • Where it is suppressed: in the code or in the scanner settings.

Record a suppressed finding in the scanner. pip-audit accepts the --ignore-vuln flag with the finding’s ID, and the build no longer fails on it.

bashif the finding is accepted
# the report does not break the build if the finding is acceptedpip-audit --ignore-vuln GHSA-5wv5-4vpf-pj6m

Review accepted exceptions regularly: a new CVE record or a new call path invalidates the justification. For how to assign priority and a deadline, see the section “Prioritisation: EPSS and context”; for how an exception differs from remediation, see the section “Remediation and exceptions”.

Add the scanning step to the pipeline like any ordinary job: for how jobs and steps work, see the CI/CD reference, section “Jobs, steps and matrices”. For npm specifics, see the Node.js reference, section “npm and package.json”. For operating system updates on servers, see the “Linux server hardening” reference, section “Security updates”.

Section sources

the section is written from these pages

Remediation and exceptions

A vulnerability you have found has one of three outcomes: update to a fixed version (a dependency or a product package), mitigate the risk while the update cannot be adopted, or accept the risk formally, with an owner and a review date. Updating is the default; everything else is a temporary measure.

Four actions

The choice depends on two things: whether a fix exists, and whether your code can adopt it. If a fix exists and can be adopted, update; if it cannot be adopted, mitigate; if there is no fix and none is planned, look for a replacement or accept the risk.

ActionWhen to choose itResult
Update a dependencya fixed version is out and the code is compatibledisappears from reports
Apply a vendor patchthe flaw is in the vendor’s product and a patch is publisheddisappears from reports
Mitigatea fix exists but cannot be adoptedstays, with attack paths blocked
Accept the riskthere is no fix and there will not be onestays, with a review date

Patch management is ongoing work, not a one-off action: NIST SP 800-40 Rev. 4 describes enterprise patch management as identifying, prioritising, acquiring, installing and verifying patches. Until the update is adopted, the finding stays open, even if a team is already working on it.

Update a dependency

Raise the version in a test environment and run the tests. If the code does not build against the new API, fix the call sites and run the tests again. If the fixed version cannot be adopted, because it breaks the application or a transitive dependency pins an older one, treat the finding as not closed: apply a temporary mitigation first, then look for an upgrade path.

Transitive dependencies and overrides

Most often the vulnerable package is not in your manifests: a direct dependency pulled it in (a transitive dependency). OWASP advises against touching the package itself and acting on the direct dependency instead: raise it to a version that has already updated its own. Editing the tree by hand is slow and destabilises the build.

If a direct dependency pins the vulnerable version and stays silent, force the version with an override. In npm, use the overrides field in the root package.json; in pip, use a constraints file passed to every installation: one file for the whole organisation.

jsonpackage.json
{  "overrides": {    "body-parser": "1.20.3"  }}

The entry reads like this: however the dependency tree asks for body-parser, npm installs 1.20.3, the version that fixes CVE-2024-45590. This helps when a project depends on express@4.18.2, which pins body-parser to exactly 1.20.1. Overrides only work in a project’s root package.json.

textconstraints.txt
# a single constraints file for all servicesurllib3>=2.3.0
bashon the host
python -m pip install -c constraints.txt -r requirements.txt

A constraint does not install a package by itself; it only keeps the version within bounds if the package is installed at all. After forcing a replacement, run the tests: you have overridden what the dependency’s author chose.

Mitigate the risk

A mitigation is a change that blocks attack paths without fixing the flaw. If the vendor has given a workaround, apply it in a test environment, verify it, and only then roll it out to production. If there is no workaround, disable the affected feature or isolate it. A wrapper with input checks is worth it only when its checks cover the exploitation conditions on every call path; otherwise it is simpler to turn the feature off.

A WAF (Web Application Firewall) rule blocks known attack vectors but does not fix the code: OWASP advises applying the fix as close to the source as possible and keeping a permanent fix in the work plan. The scanner will keep raising the finding, because a version number does not show whether the fix is already inside.

Record every temporary measure: a README comment with the CVE number, and the dependency in the scanner’s ignore list. Follow the vendor’s advisories, and as soon as a fixed version is out, return to updating. Until then, keep watching for new advisories and for attempts to bypass your rule.

When there is no fixed version

The vendor has refused to fix the flaw, does not respond, or has ended support for the branch: there will be no fix. You have two options: find another, maintained component, or write your own patch. OWASP calls a home-made patch a last resort: you will have to carry it into every new release of the dependency.

A fix exists but cannot be adopted, because the change landed in a major version or on another branch: backport it to your version, which is how fixes are published in stable Debian and Red Hat releases. Keep the patch minimal and confirm it with a test that fails on the vulnerable version and passes on the patched one. Publish the built package in the internal registry your build pulls dependencies from, with a version traceable to the original and a note on where the patch came from. Every later release of the dependency will have to be patched again, so revisit the decision at each dependency review.

Accept the risk formally

An exception is not silence but a documented decision. OWASP assigns risk acceptance to the company’s Chief Risk Officer, not to a developer: the decision rests on the team’s technical analysis and the severity score. Record the CVE number, why the fix is not applied, the compensating controls, the owner and the review date. Review exceptions on a schedule, and return the finding to the cycle when the date arrives or an exploit becomes public.

VEX documents: a “not affected” statement

A scanner raises a finding for every vulnerable version in a build, even where the flaw is unreachable. Whoever builds the product can record the position in a VEX (Vulnerability Exploitability eXchange) document: a statement about a product and a vulnerability names a status, which is affected (affected), fixed (fixed), not affected (not_affected) or under investigation (under_investigation). The status is machine-readable: the scanner can suppress the finding by itself, and a dashboard can show the official advice instead of a raw alert.

StatusMeaning
not_affectedthe product is not affected; a justification is required
affectedaffected; action is needed
fixedthe version already contains the fix
under_investigationnot yet known; updates will follow

A not_affected statement without a reason is invalid: it needs a justification label (justification), such as component_not_present (the component is not in the build), vulnerable_code_not_in_execute_path (the code is there, but the product never calls it) or inline_mitigations_already_exist (built-in protection), or else free text in impact_statement. Automation understands labels but not free text, which is why OpenVEX recommends labels.

jsonOpenVEX document
{  "@context": "https://openvex.dev/ns/v0.2.0",  "author": "Spring Builds",  "timestamp": "2023-01-16T19:07:16Z",  "version": 1,  "statements": [    {      "vulnerability": {"name": "CVE-2021-44228"},      "products": [        {"@id": "pkg:maven/org.springframework.boot/spring-boot@2.6.0-M3"}      ],      "status": "not_affected",      "justification": "vulnerable_code_not_in_execute_path"    }  ]}

A status has a timeline, and a new statement supersedes the previous one: a document goes from “under investigation” to “affected, with instructions” to “fixed”, and everyone downstream in the supply chain sees the current state rather than a stale alert.

Verifying after remediation

A fix that has not been confirmed does not count as closed: after the release, scan again and make sure the finding has gone from the report. A regression test does the other half of the job: it reproduces the vulnerability and stops the fix from being lost in later updates.

Further reading

Updates to the operating system itself, through packages and their automatic installation, are covered in the “Linux server hardening” reference, in the “Security updates” section. Where the remediation queue comes from is in the “Prioritisation: EPSS and context” section; what finds the issues is in the “Scanning and SBOM” section.

Section sources

the section is written from these pages

Vulnerability disclosure

Vulnerability disclosure is reporting a discovered vulnerability to those who can fix it or defend against it, and publishing the details once a fix is out. The process has two sides: receiving reports about vulnerabilities in your own product, and reporting vulnerabilities in someone else’s.

The receiving side is described by a /.well-known/security.txt file and a public disclosure policy. The reporting side follows the rules of coordinated disclosure: a private report to the vendor first, then an agreed publication of the security advisory.

Coordinated disclosure

In coordinated disclosure, the report goes to the vendor privately, and the details are published once a fix is available to users, sometimes with an extra delay so that administrators can update. The researcher usually names a deadline: if the vendor misses it, the details are published without agreement.

Google Project Zero’s policy gives the vendor 90 days to fix and publishes technical details 30 days after the patch is released; if there is no patch by the deadline, it publishes after 90 days. For vulnerabilities already exploited in the wild, the deadline is shorter. FIRST guidance recommends giving the vendor a reasonable embargo period unless there are signs of public disclosure or active exploitation.

ApproachHow details are publishedWhen it fits
Full disclosureimmediately after discovery, sometimes with exploit codeas a last resort, when the vendor ignores reports or an exploit is already public
Coordinated disclosureprivate report, publication after the fix is releasedthe usual default practice
Private disclosurepublished only at the organisation’s discretionhow most bug bounty programmes work; the risk is that the vendor stays silent and users never learn about the flaw

Releasing a fix gives the vulnerability away: from the patch diff, an attacker can reverse-engineer the flaw. That is why the advisory and the patch are released together, and the details are not held back after the fix is out for longer than the agreed period.

The security.txt file

A security.txt file is the standard way to tell researchers where to report vulnerabilities and under what rules. It is a text file in the RFC 9116 format, placed at /.well-known/security.txt in the root of the domain. Fields are written as Name: value, one per line; lines starting with # are comments.

There are two required fields. Contact is a way to reach you: an email address with the mailto: scheme, a tel: phone number or an https:// page; if there are several values, the first is the preferred one. Expires is the date after which the file should be considered stale; it should be no more than a year ahead, and the field appears in the file once.

text.well-known/security.txt
Contact: mailto:security@example.comExpires: 2027-01-31T18:37:07zPolicy: https://example.com/disclosure-policyPreferred-Languages: ru, enEncryption: https://example.com/pgp-key.txtCanonical: https://example.com/.well-known/security.txtAcknowledgments: https://example.com/hall-of-fame.html

The Policy field leads to the disclosure policy page, and Preferred-Languages lists the languages for reports. Canonical gives the canonical address of the file itself: if the file was fetched from an address that is not among the Canonical values, its contents should not be trusted; a digital signature confirms the file.

Disclosure policy and safe harbour

A disclosure policy is a public page that describes which systems may be tested, which vulnerabilities are accepted, how to submit a report and how quickly the organisation responds: acknowledging receipt, triage, and the decision to release a fix.

Key points of a policy:

  • scope of testing: which domains and applications are in scope, and what is excluded;
  • how to submit a report: address, form, encryption;
  • response times at each step;
  • safe harbour: a commitment not to pursue researchers legally as long as they follow the policy;
  • publication: the advisory, credit to the researcher, and a request for a CVE number.

FIRST and OWASP guidance agree: legal threats against researchers and silence in response to reports are the main reasons vulnerabilities are published without fixes. Safe harbour and regular status updates on a report work the other way.

How to get a CVE for your own product

A CVE number for a vulnerability in your own product is requested from a CVE Numbering Authority (CNA). CNAs are vendors and their product security incident response teams (PSIRTs), open-source projects, service providers, researchers, national computer security incident response teams (CSIRTs) and coordinators. If no CNA covers your product, the CNA of Last Resort issues the number. Make the request before publishing the advisory, so that the number can go into it.

The order when releasing an advisory: confirm the vulnerability and prepare a fix; request a number from a CNA; publish the advisory, giving the affected and fixed versions, the impact, a workaround and the CVE number. By default, the details are published after the fix is released.

Multi-party coordination

A vulnerability in a library affects not one vendor but all of its consumers. Multi-party coordination, as described in the FIRST guidance, adds two steps to the usual process: finding those affected, and holding the embargo until an agreed date.

  1. identify who is affected: consumers of the component, derived projects, distributions;
  2. appoint a lead coordinator if there are several coordinators;
  3. notify those affected in a private channel and agree a publication date;
  4. hold the embargo: fixes are prepared but not published until the agreed date;
  5. on the publication date, release the advisory, fixes and CVE numbers at the same time.

What an advisory publishes

A security advisory is a public description of a fixed vulnerability. The minimum content according to OWASP: a summary and impact, affected versions, fixed versions, the conditions under which the vulnerability appears (for example, only certain configurations), workarounds, and the CVE number if one has been assigned.

Advisory sectionWhat it contains
Summarythe type of vulnerability and its impact in one sentence
Affected versionsthe range of versions and the conditions for exploitation
Fixthe version with the patch and a link to the update
Workarounda temporary measure if you cannot update immediately
Creditthe researcher’s name, if they agree
Timelinethe dates of the report, confirmation and release

Section sources

the section is written from these pages

Common mistakes in the approach

A vulnerability management process is most often broken not by tools but by habits: a severity score is mistaken for risk, decisions wait on someone else’s database, and a finding ends with a report that nobody owns. Eight common mistakes are collected in the table below, followed by a walkthrough of each with an example.

MistakeWhat it leads toThe right approach
“CVSS is risk”a queue ordered by severity, not by likelihood of attackrisk is severity, likelihood and context together
“Wait for the NVD score”the decision is delayed by daystreat the vendor advisory as the primary source
“Direct dependencies only”transitive vulnerabilities stay out of the queuethe whole dependency graph and an SBOM
“An exception with no end date”the exception lives forevera reason, an owner and a review date
“CVE and CWE are the same thing”tasks like “fix the weakness type”a CVE is a record number, a CWE is a class of flaws
“Compare 3.1 and 4.0 scores”a false conclusion that things got safernumbers are not compared across versions
“A report with no owner”findings are known but not fixedan owner and a deadline for every finding
“Multiply EPSS by CVSS”the product is meaninglesslikelihood and severity kept separate

A score instead of risk

The CVSS (Common Vulnerability Scoring System) base score measures the severity of a flaw, not risk: FIRST explicitly warns that CVSS-B scores are not suitable for prioritisation on their own. Risk is made up of severity, likelihood of exploitation and the context of the environment; the Threat and Environmental metrics add the last two, and they are filled in by the consumer of the score, not the vendor. For example, two records with a score of 9.8 take different places in the queue: one is already in the Known Exploited Vulnerabilities (KEV) catalogue, while the other has no public exploit at all. The severity is the same; the risk is different.

Waiting for the NVD score

The NVD (National Vulnerability Database) usually publishes only CVSS-B base scores, the worst case calculated without Threat and Environmental metrics. While a record waits to appear and be enriched, a decision can already be made: the vendor advisory names the vulnerable versions and the vector, and the consumer fills in the Threat metrics from their own threat data in any case. For example, an advisory comes out in the morning and there is no NVD record yet: the update is planned for the same day, without waiting for enrichment.

Direct dependencies only

The whole dependency graph goes into a build, not only what is declared in the manifest: a transitive dependency runs just like a direct one, and its flaw is no better. If the analysis sees only the first level of the graph, some vulnerabilities never reach the queue. For example, a vulnerable parser that the application never calls directly but that handles user data inside a call chain. A software composition analysis (SCA) tool reads the whole graph, and a software bill of materials (SBOM) describes the entire composition, including third-party components.

An exception with no end date

An exception is a legitimate way to take a finding out of the queue when the fix breaks the service or no new version exists yet. Without a justification, an owner and a review date, it turns into a permanent loophole: nobody is there to check it, and the vulnerable version stays in service. An entry in the exception register:

yamlexception register
- cve: "CVE-2024-1234"  asset: "build-runner-03"  reason: "the update breaks the build, waiting for a patch"  owner: "ops@example.com"  review_on: "2026-12-01"

The review date is not a formality here: on the appointed day the exception is checked again, to see whether a patch has been released and whether exploitation has begun.

Confusing CVE and CWE

A CVE (Common Vulnerabilities and Exposures) ID numbers one specific record, which lists the affected products, versions and public references. CWE (Common Weakness Enumeration) is a dictionary of weakness types, and one type serves as a common label for thousands of records. The confusion produces tasks such as “fix CWE-94”: a weakness type cannot be fixed; you fix a specific version according to the CVE record. For example, CWE-94 means Improper Control of Generation of Code; in a CVE record it is the label of a class, and the fix follows the list of versions.

Scores in 3.1 and 4.0

A number in CVSS 4.0 is derived from an expert ranking of vectors, not from the weighted formula of version 3.1, so the scores for the same vulnerability differ between the two versions. This is expected and does not mean the danger has changed. For example, the attack complexity metric from 3.1 is split in 4.0 into two metrics, Attack Complexity and Attack Requirements; a 3.1 vector does not know the second one, so there is nothing to compare the numbers against. Converting a 4.0 vector back to a 3.1 vector is possible, but it is done by a program (FIRST has a cvss_reverse script), and some data is lost along the way.

A report with no owner

NIST describes update management as a process of five steps: identify, prioritise, acquire, install and verify the installation. A process that stops at the report leaves vulnerabilities known but unfixed: findings pile up in a shared channel, and nobody is assigned to installation and verification. For example, a finding without an owner is still listed as new a month later; with an owner and a deadline, within a month it is either fixed or formally deferred. Closure means not “sent to the channel” but an installed update and a repeat scan.

EPSS multiplied by CVSS

EPSS (Exploit Prediction Scoring System) estimates the probability of exploitation over the next 30 days and knows nothing about your assets; CVSS-B is an ordinal scale of expert judgement. FIRST calls multiplying them a bad idea: the product is no longer a probability, and the severity score only distorts the result. EPSS is not a ready-made risk score either: it does not measure damage and does not account for compensating controls. For example, take two records with a probability of 0.5, a minor flaw on a test bench and a serious one on a payment gateway; multiplying by the same probability merely repeats the difference in scores, and the probability itself disappears from the decision.

Further reading

How scores and vectors work is in the “CVSS 4.0 and 3.1 scoring” section. What the NVD adds to a record is in the “NVD and vulnerability data” section. How to build a queue from probability and context is in the “Prioritisation: EPSS and context” section. How to document exceptions is in the “Remediation and exceptions” section.

Section sources

the section is written from these pages

Standards and their status

Work with vulnerabilities is defined by several independent standards. Severity is scored with CVSS 4.0 (FIRST, November 2023), vulnerability records are published in the CVE JSON 5 format, and weakness types come from the CWE 5.0 list. The probability of exploitation comes from the EPSS model, whose version number changes as it is retrained.

Related formats and guidance also have editions: the software bill of materials is described by CycloneDX 1.7, and the channel for vulnerability reports is the security.txt file from RFC 9116. Updates and vulnerability disclosure are covered by NIST SP 800-40 Rev. 4 and SP 800-216, and software development by SP 800-218.

DocumentWhat it definesStatusWhat replaced or extended it
CVSS 4.0 (FIRST)severity scoring: metrics, formulas, the vectorcurrent FIRST standard, November 2023replaced CVSS 3.1
CVSS 3.1 (FIRST)severity scoringprevious edition, in the FIRST archivereplaced by 4.0, but still widely published
EPSS (FIRST)the probability that a CVE record will be exploited within 30 daysa FIRST model, scores updated dailythe model number changes on retraining (currently v5)
CVE JSON 5 (CVE Program)the CVE record format: product, versions, referencescurrent record format, schema 5.2.0builds on the 5.0 format
CWE List 5.0 (MITRE)weakness types and their identifierscurrent listreplaced CWE 4.x, with incompatibilities
CycloneDX 1.7 (OWASP)the software bill of materials (SBOM) and VEX statementscurrent version, 21 October 2025fixed by the ECMA-424 standard, 2nd edition, December 2025
RFC 9116 (IETF)the security.txt file for vulnerability reportspublished April 2022an informational RFC, with no replacements
NIST SP 800-40 Rev. 4update planning and patch managementfinal revision, April 2022replaced Rev. 3 of 2013
NIST SP 800-216recommendations for vulnerability disclosurefinal document, May 2023first edition
NIST SP 800-218 (SSDF 1.1)secure software development practicesfinal document, February 2022builds on the CSWP 13 draft

What changed in the latest editions

CVSS 4.0 instead of 3.1. The Base metric group has been expanded, and there is a separate Supplemental group, which does not affect the final score. Threat and Environmental are always taken into account, even with their default values. The score now shows explicitly which groups were set: the notations CVSS-B, CVSS-BT, CVSS-BE and CVSS-BTE; for details, see the “CVSS 4.0 and 3.1 scoring” section.

CWE List 5.0 came out with incompatible schema changes. The list contains 956 weaknesses; tools and reports that cross-check against CWE need the new schema.

CVE JSON 5 evolves without a change of major version: records are marked with a dataVersion field such as 5.0, 5.1 or 5.2. Release 5.2.0 in October 2025 added PURL identifiers for describing packages. To see where to look up a record, read the “CVE records” section.

The EPSS model is not tied to a standard version: scores are recalculated daily, and the model is retrained when its accuracy drops, roughly once a year. The first paper described version 1 and the 2023 paper described version 3; since June 2026, version 5 has been in effect. Check the number and the switchover date against the list of versions on the EPSS data page.

Outdated documents that are still cited

  • CVSS v2 is in the FIRST archive. The NVD no longer adds its own v2 scores, but v2 scores remain in old records and arrive in new records from some CVE Numbering Authorities (CNAs) and scanners.
  • CVSS v3.0 is the edition before 3.1, with an archive on the FIRST site. The differences are in rounding and in the vector label, so the CVSS:3.0 label is less common, but it does turn up.
  • NIST SP 800-40 Rev. 3 (2013) was replaced by Rev. 4. It was about patching technology; in Rev. 4 the focus shifts to planning routine maintenance.

A score without a vector does not confirm the edition: a string like CVSS:3.1/AV:N/… begins with the version, and the NVD stores scores from several editions side by side in a record. How this works in the API is in the “NVD and vulnerability data” section, and the applicability of CVSS editions is in the “CVSS 4.0 and 3.1 scoring” section.

bashon the host
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0\?cveId=CVE-2021-44228" | jq '.vulnerabilities[0].cve.metrics | keys'
textexample output
[  "cvssMetricV2",  "cvssMetricV31",  "ssvcV203"]

Section sources

the section is written from these pages

End of the reference

What changed

revision history · 4 entries

Every edit is saved as a revision: a snapshot of the reference, the reason and a summary of changes. The published version changes only after the same checks as at creation.

  1. Manual edit

    reason: manual edit
  2. Manual edit

    reason: manual edit
  3. Manual edit

    reason: manual edit
  4. Reference updated

Weekly check

How the reference is checked

Once a week — and right after news of a release or a vulnerability — the reference is checked in three steps.

  1. 1. Freshness

    Sections are compared with the release notes and changelogs from the official sources and with the topic’s news.

  2. 2. Errors

    Every section is read again: wrong facts, outdated APIs and flags, broken examples.

  3. 3. Links — by an HTTP request

    Every source link must respond. A broken link is a reason to recheck the section.

No findings — only the date changes. Findings — only the affected sections are rewritten, and they appear in “What changed”. A new version replaces the published one only after passing the same checks as at creation.

Statuses

Verified
no findings
Updated
sections rewritten, edits are listed
Rechecking
while the check runs, the previous version stays open
Needs review
disputed points: the verified version is shown, editors review

Last check

18 Nov · Check · updated · no findings

Found an error in the reference?

On the topic

tracks, news and other references
The whole “Vulnerability management (CVE, CVSS)” topic
13 sections
Another reference · Cybersecurity

OWASP Top 10

Verified 1 Nov
All references · 61