t0sche/cvss-bt
关于
Enriching the NVD CVSS scores to include Temporal & Threat Metrics
安全与隐私实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文cvss-bt
This project enriches the NVD CVSS scores to include Temporal/Threat Metrics, and publishes a CSV file daily with the CVSS-BT scores and information sources.
Overview
The Common Vulnerability Scoring System (CVSS) is an industry standard for assessing the severity of computer system security vulnerabilities. CVSS attempts to establish a measure of how severe a vulnerability is based on its attributes.
The National Vulnerability Database includes CVSS Base scores in its catalog, but base scores are not enough to effectively prioritizie or contextualize vulnerabilities. In this repository I continuously enrich the CVSS score by using the Exploit Code Maturity/Exploitability (E) Temporal Metric.
Temporal Metric - Exploit Code Maturity/Exploitability (E)
Sources:
- https://www.first.org/cvss/v4-0/cvss-v40-specification.pdf
- https://www.first.org/cvss/v3.1/specification-document
- https://www.first.org/cvss/v3.0/specification-document
- https://www.first.org/cvss/v2/guide
| Value | Description | CVE Present In |
|---|---|---|
| Attacked (A) (v4.0) | Based on available threat intelligence either of the following must apply: Attacks targeting this vulnerability (attempted or successful) have been reported. Solutions to simplify attempts to exploit the vulnerability are publicly or privately available (such as exploit toolkits) | CISA KEV, VulnCheck KEV, EPSS > Threshold, Metasploit |
| High (H) (v3.1/3.0/2.0) | Functional autonomous code exists, or no exploit is required (manual trigger) and details are widely available. Exploit code works in every situation, or is actively being delivered via an autonomous agent (such as a worm or virus). Network-connected systems are likely to encounter scanning or exploitation attempts. Exploit development has reached the level of reliable, widely available, easy-to-use automated tools. | CISA KEV, VulnCheck KEV, EPSS > Threshold, Metasploit |
| Functional (F) (v3.1/3.0/2.0) | Functional exploit code is available. The code works in most situations where the vulnerability exists. | Nuclei |
| Proof-of-Concept (P) (v4.0/3.1/3.0/2.0) | Proof-of-concept exploit code is available. The code might not work in all situations. | ExploitDB, PoC-in-GitHub |
| Unproven (U) (v4.0/3.1/3.0/2.0) | No exploit code is available, or an exploit is theoretical. | CVE not present in any threat intelligence source above. |
| Not Defined (X) (v4.0/3.1/3.0/2.0) | Assigning this value to the metric will not influence the score. It means the user does not have enough information to assign a score. | We drop this value since we have information to assign a score. |
exploit_maturity_source column
The published CSV includes an exploit_maturity_source column recording which threat-intelligence source(s) actually drove each CVE's assigned Exploit Maturity (E) value (e.g. cisa_kev|epss). It is a |-separated list, appended as a trailing column (existing column order is unchanged), and is empty only for E:U rows.
Because the sources are listed in assignment precedence order, attribution reflects the value a source can actually drive — not merely that the source flagged the CVE:
E:H(v3.1/3.0/2.0) /E:A(v4.0):cisa_kev,vulncheck_kev,epss(≥ threshold);metasploitcontributes toE:Aon v4.0 only.E:F(v3.1/3.0/2.0):metasploit,nuclei.E:P/E:POC:exploitdb,poc_github;nucleicontributes toE:Pon v4.0 only.
So a CVE in both CISA KEV and Metasploit scored E:H on v3.1 is attributed to cisa_kev (and vulncheck_kev/epss if applicable) but not metasploit, since Metasploit does not drive E:H on v3.x.
Features
This repository continuously enriches and publishes CVSS Temporal Scores based on the following threat intelligence:
- CISA KEV
- VulnCheck KEV
- EPSS
- Metasploit
- Nuclei
- ExploitDB
- PoC-in-GitHub
Steps
- Fetches EPSS scores every morning
- Fetches CVSS scores from NVD if there are new EPSS scores.
- Calculates the Exploit Code Maturity/Exploitability (E) Metric when new data is found.
- Provides a resulting CVSS-BT score for each CVE
Caveats
- In the event that the NVD calculated score is using a lesser version than a secondary source, I use the higher CVSS version.
- The EPSS threshold for returning an
E:HorE:Avalue is .36, or 36%. This is based on the F1 score of the model and the 37% threshold where most CVEs have weaponized exploit code. - I do not recommend using this percentage as a general threshold to prioritize on.
Accessing the Data
The CVSS-BT dataset covers all non-rejected CVEs in NVD with enriched temporal scores and is published daily in both CSV and Parquet formats.
Download from Releases
Download the latest data files from the Releases page:
- cvss-bt.csv - Full dataset in CSV format (large; tens of MB)
- cvss-bt.parquet - Full dataset in Parquet format (smaller, more efficient)
You can also download programmatically:
# Download CSV
curl -L -o cvss-bt.csv https://github.com/t0sche/cvss-bt/releases/latest/download/cvss-bt.csv
# Download Parquet
curl -L -o cvss-bt.parquet https://github.com/t0sche/cvss-bt/releases/latest/download/cvss-bt.parquet
Clone the Repository
Clone this repository to access the latest CSV file:
git clone https://github.com/t0sche/cvss-bt.git
Note: The CSV file is large and will not render on GitHub's web interface. Download the file or clone the repository to view the data.
CVSS Visual Mapping
This diagram is regenerated with every daily release. It shows how each CVE's CVSS base severity changes once threat intelligence is applied (CVSS-BT severity), and which exploit maturity drove that change. Generate it locally with python code/generate_sankey.py.

Acknowledgements
This product uses VulnCheck KEV.
This product uses EPSS scores but is not endoresed or certified by the EPSS SIG.
Support this project
If you'd like to financially support this project, feel free to donate below.
探索相关项目
加载中…
