Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,25 +1,69 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CTI-Bench: Vulnerability Severity Prediction (VSP)
|
| 2 |
+
|
| 3 |
+
## Dataset Description
|
| 4 |
+
|
| 5 |
+
This dataset contains **1,000 CVE descriptions** with corresponding CVSS v3.1 base scores. It evaluates a model's ability to assess vulnerability severity and generate proper CVSS vector strings.
|
| 6 |
+
|
| 7 |
+
## Dataset Structure
|
| 8 |
+
|
| 9 |
+
Each example contains:
|
| 10 |
+
- **url**: CVE URL (typically from nvd.nist.gov)
|
| 11 |
+
- **description**: CVE description detailing the vulnerability
|
| 12 |
+
- **prompt**: Full instruction prompt explaining CVSS v3.1 metrics
|
| 13 |
+
- **cvss_vector**: Ground truth CVSS v3.1 vector string (e.g., "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H")
|
| 14 |
+
- **task_type**: Always "vulnerability_severity_prediction"
|
| 15 |
+
|
| 16 |
+
## CVSS v3.1 Metrics
|
| 17 |
+
|
| 18 |
+
The dataset covers all base metrics:
|
| 19 |
+
- **AV** (Attack Vector): Network (N), Adjacent (A), Local (L), Physical (P)
|
| 20 |
+
- **AC** (Attack Complexity): Low (L), High (H)
|
| 21 |
+
- **PR** (Privileges Required): None (N), Low (L), High (H)
|
| 22 |
+
- **UI** (User Interaction): None (N), Required (R)
|
| 23 |
+
- **S** (Scope): Unchanged (U), Changed (C)
|
| 24 |
+
- **C** (Confidentiality): None (N), Low (L), High (H)
|
| 25 |
+
- **I** (Integrity): None (N), Low (L), High (H)
|
| 26 |
+
- **A** (Availability): None (N), Low (L), High (H)
|
| 27 |
+
|
| 28 |
+
## Usage
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
from datasets import load_dataset
|
| 32 |
+
|
| 33 |
+
# Load the dataset
|
| 34 |
+
dataset = load_dataset("tuandunghcmut/cti_bench_vsp")
|
| 35 |
+
|
| 36 |
+
# Access a sample
|
| 37 |
+
sample = dataset['train'][0]
|
| 38 |
+
print(f"CVE: {sample['description']}")
|
| 39 |
+
print(f"CVSS Vector: {sample['cvss_vector']}")
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
## Example
|
| 43 |
+
|
| 44 |
+
**CVE Description:** In the Linux kernel through 6.7.1, there is a use-after-free in cec_queue_msg_fh, related to drivers/media/cec/core/cec-adap.c...
|
| 45 |
+
|
| 46 |
+
**CVSS Vector:** CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
|
| 47 |
+
|
| 48 |
+
## Citation
|
| 49 |
+
|
| 50 |
+
```bibtex
|
| 51 |
+
@article{ctibench2024,
|
| 52 |
+
title={CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligence},
|
| 53 |
+
author={[Authors]},
|
| 54 |
+
journal={NeurIPS 2024},
|
| 55 |
+
year={2024}
|
| 56 |
+
}
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
## Original Source
|
| 60 |
+
|
| 61 |
+
This dataset is derived from [CTI-Bench](https://github.com/xashru/cti-bench) and is available under the same license terms.
|
| 62 |
+
|
| 63 |
+
## Tasks
|
| 64 |
+
|
| 65 |
+
This dataset is designed for:
|
| 66 |
+
- ✅ Vulnerability severity assessment
|
| 67 |
+
- ✅ CVSS score calculation
|
| 68 |
+
- ✅ Risk analysis and prioritization
|
| 69 |
+
- ✅ Cybersecurity impact evaluation
|