Update README.md
Browse files
README.md
CHANGED
@@ -16,4 +16,69 @@ configs:
|
|
16 |
data_files:
|
17 |
- split: train
|
18 |
path: data/train-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
data_files:
|
17 |
- split: train
|
18 |
path: data/train-*
|
19 |
+
task_categories:
|
20 |
+
- text-classification
|
21 |
+
language:
|
22 |
+
- en
|
23 |
+
tags:
|
24 |
+
- security
|
25 |
+
- nvd
|
26 |
+
- vulnerability
|
27 |
+
- cwe
|
28 |
+
pretty_name: Vulnerability Descriptions & CWE Mappings
|
29 |
+
size_categories:
|
30 |
+
- 1K<n<10K
|
31 |
---
|
32 |
+
# Vulnerability Descriptions & CWE Mappings
|
33 |
+
|
34 |
+
The "VulnDesc_CWE_Mapping" dataset is a resource for cybersecurity professionals, researchers, and developers focused on software vulnerabilities and their classifications. This dataset provides a mapping between detailed vulnerability descriptions and their corresponding Common Weakness Enumeration (CWE) categories.
|
35 |
+
|
36 |
+
## Dataset Details
|
37 |
+
|
38 |
+
### Key Features:
|
39 |
+
|
40 |
+
- Vulnerability Descriptions: Detailed textual descriptions of various software vulnerabilities, including specific examples and attack scenarios.
|
41 |
+
- CWE Mappings: Each vulnerability description is paired with its relevant CWE category, providing a standardized classification.
|
42 |
+
- Diverse Vulnerability Types: Covers a wide range of vulnerability types, including buffer overflows, cross-site scripting (XSS), SQL injection, and more.
|
43 |
+
- Real-world Examples: Includes references to actual software products and versions affected by these vulnerabilities.
|
44 |
+
|
45 |
+
### Dataset Sources
|
46 |
+
|
47 |
+
<!-- Provide the basic links for the dataset. -->
|
48 |
+
|
49 |
+
- **NVD:** https://www.cve.org/Downloads
|
50 |
+
- **Demo:** https://dunateo.github.io/
|
51 |
+
|
52 |
+
## Uses
|
53 |
+
|
54 |
+
### Potential Applications:
|
55 |
+
|
56 |
+
- Training machine learning models for automated vulnerability classification
|
57 |
+
- Enhancing vulnerability management systems
|
58 |
+
- Educational resource for cybersecurity students and professionals
|
59 |
+
- Assisting in vulnerability assessment and penetration testing processes
|
60 |
+
|
61 |
+
|
62 |
+
### Direct Use
|
63 |
+
|
64 |
+
<!-- This section describes suitable use cases for the dataset. -->
|
65 |
+
|
66 |
+
```Python
|
67 |
+
from datasets import load_dataset
|
68 |
+
|
69 |
+
# Load the dataset
|
70 |
+
dataset = load_dataset("Dunateo/VulnDesc_CWE_Mapping")
|
71 |
+
|
72 |
+
# Print basic information about the dataset
|
73 |
+
print(f"Number of rows: {len(dataset['train'])}")
|
74 |
+
```
|
75 |
+
|
76 |
+
|
77 |
+
## Dataset Structure
|
78 |
+
|
79 |
+
- Format: CSV file with semicolon (;) as the delimiter
|
80 |
+
- Columns:
|
81 |
+
- text: Detailed description of the vulnerability
|
82 |
+
- label: Corresponding CWE category
|
83 |
+
|
84 |
+
|