mvd001/cyberset / scripts /STATS_hub.md
mvd001's picture
|
download
raw
5.42 kB
# Knowledge hub statistics
*Generated 2026-10-03 02:39 IST by `scripts/make_stats.py`.*
## Tables (Parquet, zstd)
| Table | Rows | Size |
|---|---:|---:|
| `vuln_kb` | 400,870 | 69.5 MB |
| `weakness_kb` | 1,450 | 126.6 KB |
| `capec_kb` | 615 | 108.5 KB |
| `attack_kb` | 858 | 370.5 KB |
| `taxonomy_map` | 1,409 | 48.3 KB |
| `ids_rules` | 72,048 | 1.1 MB |
## vuln_kb coverage
Percentages are of **non-rejected** CVEs unless stated. Rejected records are kept with `cve_state='REJECTED'`.
| Metric | Count | % |
|---|---:|---:|
| CVE rows (all) | 400,870 | |
| non-rejected | 382,439 | |
| rejected | 18,431 | |
| in cvelistV5 snapshot | 382,089 | 99.9% |
| in NVD feeds | 382,439 | 100.0% |
| has description | 382,439 | 100.0% |
| ≥1 CWE (CWE-n, excluding NVD-CWE-Other/noinfo) | 324,189 | 84.8% |
| ≥1 CAPEC via CWE closure | 304,215 | 79.5% |
| ≥1 ATT&CK technique via CWE→CAPEC closure | 210,146 | 54.9% |
| CVSS v2 | 196,305 | 51.3% |
| CVSS v3.x | 300,000 | 78.4% |
| CVSS v4.0 | 39,451 | 10.3% |
| ≥1 NVD CPE match | 318,148 | 83.2% |
| in OSV | 133,364 | 34.9% |
| in GHSA (any, incl. unreviewed mirror of NVD) | 370,694 | 96.9% |
| in GHSA github-reviewed | 31,398 | 8.2% |
| ≥1 package ecosystem (OSV/GHSA) | 109,154 | 28.5% |
## Fix commits
Sources: NVD references tagged `Patch` that point at a single commit; OSV `GIT` ranges (`fixed` events) and commit-URL references; same for the GHSA clone. `score` is a heuristic confidence: 0.95 structured GIT-range `fixed`, 0.9 NVD Patch tag, 0.85 OSV/GHSA `FIX` ref, 0.5 `WEB`/`ADVISORY` ref, 0.3–0.4 other ref types.
| Metric | Count | % of non-rejected |
|---|---:|---:|
| CVEs with ≥1 fix commit (any source) | 81,830 | 21.4% |
| CVEs with ≥1 fix commit, score ≥ 0.85 | 73,975 | 19.3% |
| CVEs with ≥1 fix commit from `nvd` | 32,505 | 8.5% |
| CVEs with ≥1 fix commit from `osv` | 78,435 | 20.5% |
| CVEs with ≥1 fix commit from `ghsa` | 50,338 | 13.2% |
- fix_commit entries (CVE × repo × sha × source): 513,231
- distinct (CVE, repo, sha): 303,573
- distinct (repo, sha) commits: 190,215
- distinct repos: 13,724
- of which on github.com: 74,188 (39.0%)
| evidence | entries |
|---|---:|
| `osv_range_fixed` | 178,987 |
| `ghsa_ref:WEB` | 132,240 |
| `nvd_ref_tag:Patch` | 82,343 |
| `osv_ref:ARTICLE` | 74,199 |
| `osv_ref:REPORT` | 20,213 |
| `osv_ref:WEB` | 12,563 |
| `osv_ref:FIX` | 12,322 |
| `osv_ref:ADVISORY` | 331 |
| `osv_ref:EVIDENCE` | 30 |
| `ghsa_ref:PACKAGE` | 1 |
| `osv_ref:PACKAGE` | 1 |
| `osv_ref:INTRODUCED` | 1 |
## Exploitation signals
| Metric | Count | % of non-rejected |
|---|---:|---:|
| in CISA KEV | 1,733 | 0.5% |
| has EPSS score | 382,205 | 99.9% |
| EPSS ≥ 0.1 | 17,286 | 4.5% |
| ≥1 Exploit-DB entry | 24,939 | 6.5% |
| ≥1 ET Open rule (reference:cve; excl. emerging-deleted.rules) | 2,867 | 0.7% |
| ≥1 *enabled* ET Open rule | 2,406 | 0.6% |
| Exploit-DB **or** ET Open link | 26,765 | 7.0% |
| Exploit-DB **and** ET Open link | 1,041 | 0.3% |
- KEV catalog entries: 1,733; matched to vuln_kb rows: 1,733 (100.0%)
- EPSS rows: 382,205; matched to vuln_kb rows: 382,205 (100.0%)
- Exploit-DB: 27,246 distinct EDB-IDs carry ≥1 CVE code (30,669 CVE×EDB pairs). `metasploit_module` and `nuclei_template` are null (not in this CSV); `is_metasploit` flags Metasploit-authored entries.
- ET Open: 72,048 rules parsed (52,556 enabled), 7,384 with ≥1 `reference:cve`.
## Taxonomy
| family_type | rows | with CAPEC | with ATT&CK |
|---|---:|---:|---:|
| cwe | 1,391 | 804 | 543 |
| attack_family | 18 | 13 | 17 |
- CAPEC patterns: 615; with a direct ATT&CK mapping: 177; with ATT&CK after inheriting from the nearest CAPEC parent: 338.
- Attack families (18): `backdoor`, `benign`, `botnet`, `brute_force`, `command_injection`, `ddos`, `dos`, `exploit`, `fuzzing`, `heartbleed`, `infiltration`, `path_traversal`, `port_scan`, `reconnaissance`, `shellcode`, `sql_injection`, `worm`, `xss`
## Top CWEs (non-rejected CVEs)
| CWE | CVEs |
|---|---:|
| CWE-79 | 48,480 |
| CWE-89 | 21,104 |
| CWE-787 | 15,003 |
| CWE-119 | 14,390 |
| CWE-20 | 13,679 |
| CWE-200 | 11,552 |
| CWE-22 | 10,613 |
| CWE-862 | 10,390 |
| CWE-352 | 9,891 |
| CWE-125 | 9,867 |
| CWE-416 | 8,815 |
| CWE-284 | 8,410 |
| CWE-94 | 7,435 |
| CWE-78 | 6,966 |
| CWE-476 | 5,704 |
## CVEs per publication year (cve_year from ID)
| Year | CVEs | with fix commit | in KEV |
|---|---:|---:|---:|
| 1999 | 1,540 | 2 | 0 |
| 2000 | 1,236 | 2 | 0 |
| 2001 | 1,537 | 0 | 0 |
| 2002 | 2,357 | 1 | 1 |
| 2003 | 1,504 | 1 | 0 |
| 2004 | 2,644 | 0 | 2 |
| 2005 | 4,627 | 35 | 1 |
| 2006 | 6,995 | 58 | 2 |
| 2007 | 6,458 | 42 | 3 |
| 2008 | 7,005 | 106 | 6 |
| 2009 | 4,921 | 176 | 15 |
| 2010 | 5,074 | 302 | 23 |
| 2011 | 4,646 | 480 | 9 |
| 2012 | 5,488 | 555 | 22 |
| 2013 | 6,221 | 711 | 38 |
| 2014 | 8,428 | 1,027 | 34 |
| 2015 | 8,112 | 1,037 | 46 |
| 2016 | 9,368 | 1,813 | 59 |
| 2017 | 14,762 | 2,194 | 86 |
| 2018 | 16,188 | 2,544 | 89 |
| 2019 | 16,097 | 2,742 | 119 |
| 2020 | 19,394 | 3,576 | 146 |
| 2021 | 22,603 | 5,377 | 215 |
| 2022 | 26,448 | 7,330 | 132 |
| 2023 | 30,654 | 6,960 | 165 |
| 2024 | 38,467 | 8,345 | 164 |
| 2025 | 43,538 | 9,013 | 188 |
| 2026 | 66,127 | 27,401 | 168 |
## Disk
| Path | On disk |
|---|---:|
| raw/ | 6.5 GB |
| processed/ (incl. _intermediate) | 276.3 MB |
| processed/_intermediate | 205.0 MB |
| whole security-dataset/ (incl. .venv, scratch) | 8.5 GB |

Xet Storage Details

Size:
5.42 kB
·
Xet hash:
5d0a5554f57cb416a88367b19e7af3d0450a69cc98e375c8eaed2fb42f57a9f6

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.