arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.02595cs.SEcs.CRcs.LG
收藏

一个人工整理的开源软件漏洞修复数据集

A Manually-Curated Dataset of Fixes to Vulnerabilities of Open-Source Software

SAP Security Research(SAP安全研究部门)

Serena E. Ponta, Henrik Plate, Antonino Sabetta, Michele Bezzi, Cédric Dangremont

AI总结:

本文发布人工整理的开源 Java 漏洞与修复提交数据集,含624个漏洞、205个项目和1282个提交,并提供脚本支持数据获取、扩充及安全提交分类器训练。

摘要:

增进我们对软件漏洞的理解、实现漏洞识别的自动化、分析其影响并最终缓解漏洞,对于开发更安全的软件是必要的。在运行我们开发的、目前被 SAP 数百个开发部门使用的漏洞评估工具期间,我们人工收集并整理了一个开源软件漏洞及其修复提交的数据集。这些数据既来自 National Vulnerability Database(NVD,国家漏洞数据库),也来自我们持续监控的项目特定 Web 资源。基于这些数据,我们提取出一个数据集,将影响 205 个不同开源 Java 项目的 624 个公开披露漏洞映射到修复它们的 1282 个提交;这些项目用于 SAP 产品或内部工具。在 624 个漏洞中,有 29 个完全没有 CVE 标识符,另有 46 个虽已由编号机构分配 CVE 标识符,但尚未出现在 NVD 中。该数据集以开源许可证发布,并附带支持脚本,使研究人员能够从相应仓库自动获取提交的实际内容,并扩充每个实例可用的属性。此外,这些脚本还允许用并非安全修复的额外实例补充数据集(例如,这在机器学习应用中很有用)。我们的数据集已成功用于训练分类器,这些分类器能够自动识别代码仓库中与安全相关的提交。将此数据集和支持代码开源发布,将使未来研究能够基于具有工业相关性的数据;同时,这也是朝着让开源社区、学术界和工业界共同维护该数据集迈出的具体一步。

英文摘要:

Advancing our understanding of software vulnerabilities, automating their identification, the analysis of their impact, and ultimately their mitigation is necessary to enable the development of software that is more secure. While operating a vulnerability assessment tool that we developed and that is currently used by hundreds of development units at SAP, we manually collected and curated a dataset of vulnerabilities of open-source software and the commits fixing them. The data was obtained both from the National Vulnerability Database (NVD) and from project-specific Web resources that we monitor on a continuous basis. From that data, we extracted a dataset that maps 624 publicly disclosed vulnerabilities affecting 205 distinct open-source Java projects, used in SAP products or internal tools, onto the 1282 commits that fix them. Out of 624 vulnerabilities, 29 do not have a CVE identifier at all and 46, which do have a CVE identifier assigned by a numbering authority, are not available in the NVD yet. The dataset is released under an open-source license, together with supporting scripts that allow researchers to automatically retrieve the actual content of the commits from the corresponding repositories and to augment the attributes available for each instance. Also, these scripts allow to complement the dataset with additional instances that are not security fixes (which is useful, for example, in machine learning applications). Our dataset has been successfully used to train classifiers that could automatically identify security-relevant commits in code repositories. The release of this dataset and the supporting code as open-source will allow future research to be based on data of industrial relevance; also, it represents a concrete step towards making the maintenance of this dataset a shared effort involving open-source communities, academia, and the industry.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑