cve-backport-v5-dataset
收藏资源简介:
CVE Backport Dataset v5 是一个用于安全补丁回迁的数据集,包含来自 SUSE/openSUSE 的真实世界 CVE 回迁示例,共计 94,604 个示例,涵盖 1,121 个软件包和 2,055 个 CVE。数据集提供四种配置:realistic(推荐用于训练,经过质量过滤并限制每个软件包的示例数量以确保多样性)、optimistic(所有通过质量过滤的示例,无软件包数量限制)、maximalistic(包含所有示例,包括超大和微小补丁)和 kernel(仅包含内核相关软件包)。每个示例包含上游安全补丁及其 SUSE 适配的回迁补丁,模型输入包括 CVE 标识符和描述、目标软件包名称和版本、上游修复补丁以及目标源代码上下文(部分示例提供),模型输出为适配的 SUSE 回迁补丁。数据集还包含丰富的元数据,如 CVE 列表、软件包名称、补丁类型、语言、许可证信息等。数据集适用于训练模型以协助安全补丁回迁任务。
CVE Backport Dataset v5 is a dataset for security patch backporting tasks. It contains real-world CVE backporting examples from SUSE/openSUSE, totaling 94,604 examples covering 1,121 software packages and 2,055 CVEs. The dataset provides four configurations: realistic (recommended for training, which undergoes quality filtering and limits the number of examples per software package to ensure diversity), optimistic (all examples that pass quality filtering with no limit on the number per software package), maximalistic (includes all examples including extremely large and tiny patches), and kernel (only contains kernel-related software packages). Each example includes an upstream security patch and its SUSE-adapted backport patch. The model inputs include CVE identifiers and descriptions, target software package name and version, upstream fix patches, and target source code context (provided for some examples), while the model output is the adapted SUSE backport patch. The dataset also contains rich metadata such as CVE lists, software package names, patch types, programming languages, license information and more. This dataset is suitable for training models to assist with security patch backporting tasks.



