Update dataset card
Browse files
README.md
CHANGED
|
@@ -1,30 +1,70 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
- name: cve_id
|
| 13 |
-
dtype: string
|
| 14 |
-
splits:
|
| 15 |
-
- name: train
|
| 16 |
-
num_bytes: 47143216
|
| 17 |
-
num_examples: 115068
|
| 18 |
-
- name: test
|
| 19 |
-
num_bytes: 5238408
|
| 20 |
-
num_examples: 12786
|
| 21 |
-
download_size: 24844204
|
| 22 |
-
dataset_size: 52381624
|
| 23 |
-
configs:
|
| 24 |
-
- config_name: default
|
| 25 |
-
data_files:
|
| 26 |
-
- split: train
|
| 27 |
-
path: data/train-*
|
| 28 |
-
- split: test
|
| 29 |
-
path: data/test-*
|
| 30 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- zh
|
| 4 |
+
license: gpl-3.0
|
| 5 |
+
tags:
|
| 6 |
+
- vulnerability
|
| 7 |
+
- cybersecurity
|
| 8 |
+
- cnvd
|
| 9 |
+
- severity-classification
|
| 10 |
+
size_categories:
|
| 11 |
+
- 100K-1M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
+
|
| 14 |
+
# Vulnerability-CNVD
|
| 15 |
+
|
| 16 |
+
Vulnerability descriptions and severity labels from the [China National Vulnerability Database (CNVD)](https://www.cnvd.org.cn/), extracted via [Vulnerability-Lookup](https://vulnerability.circl.lu).
|
| 17 |
+
|
| 18 |
+
## Dataset structure
|
| 19 |
+
|
| 20 |
+
| Field | Type | Description |
|
| 21 |
+
|-------|------|-------------|
|
| 22 |
+
| `id` | string | CNVD identifier (e.g., CNVD-2025-03529) |
|
| 23 |
+
| `title` | string | Vulnerability title in Chinese |
|
| 24 |
+
| `description` | string | Vulnerability description in Chinese |
|
| 25 |
+
| `severity` | string | Severity level: 高 (High), 中 (Medium), or 低 (Low) |
|
| 26 |
+
| `cve_id` | string | Corresponding CVE identifier, if available (empty string if none) |
|
| 27 |
+
|
| 28 |
+
## Severity distribution
|
| 29 |
+
|
| 30 |
+
The dataset is imbalanced:
|
| 31 |
+
|
| 32 |
+
| Severity | Chinese | Approximate share |
|
| 33 |
+
|----------|---------|-------------------|
|
| 34 |
+
| High | 高 | ~36% |
|
| 35 |
+
| Medium | 中 | ~55% |
|
| 36 |
+
| Low | 低 | ~9% |
|
| 37 |
+
|
| 38 |
+
## CVE overlap
|
| 39 |
+
|
| 40 |
+
Approximately 81% of CNVD entries have a corresponding CVE identifier. The overlap rate varies by year:
|
| 41 |
+
|
| 42 |
+
- **2020-2021**: 68-69% CVE mapping rate
|
| 43 |
+
- **2022+**: 91-97% CVE mapping rate
|
| 44 |
+
|
| 45 |
+
The ~19% of CNVD-only entries are concentrated in Chinese domestic software (PHP CMS, ERP systems). Western vendors (Adobe, Microsoft, IBM, Cisco) are largely absent from the CNVD-only subset.
|
| 46 |
+
|
| 47 |
+
## Coverage and provenance
|
| 48 |
+
|
| 49 |
+
CNVD reserves 50,000-100,000 vulnerability IDs per year but publishes full details for only a fraction. The publication rate has declined significantly:
|
| 50 |
+
|
| 51 |
+
- **2015**: ~94% of reserved IDs have published details
|
| 52 |
+
- **2023**: ~4% of reserved IDs have published details
|
| 53 |
+
|
| 54 |
+
This decline coincides with China's Regulations on the Management of Security Vulnerabilities (RMSV), effective September 2021.
|
| 55 |
+
|
| 56 |
+
Entries without a description or severity label are excluded from this dataset.
|
| 57 |
+
|
| 58 |
+
## Duplicate descriptions
|
| 59 |
+
|
| 60 |
+
CNVD reuses boilerplate descriptions across different vulnerability IDs (product-specific entries sharing the same text). When using this dataset for train/test splits, **split on unique description text** rather than on IDs to avoid data leakage. See [VulnTrain#19](https://github.com/vulnerability-lookup/VulnTrain/issues/19) for details.
|
| 61 |
+
|
| 62 |
+
## Source
|
| 63 |
+
|
| 64 |
+
- **Data source**: [Vulnerability-Lookup](https://vulnerability.circl.lu) API
|
| 65 |
+
- **Extraction tool**: [VulnTrain](https://github.com/vulnerability-lookup/VulnTrain)
|
| 66 |
+
- **Original source**: [CNVD](https://www.cnvd.org.cn/)
|
| 67 |
+
|
| 68 |
+
## Related models
|
| 69 |
+
|
| 70 |
+
- [CIRCL/vulnerability-severity-classification-chinese-macbert-base](https://huggingface.co/CIRCL/vulnerability-severity-classification-chinese-macbert-base) — severity classifier trained on this dataset
|