arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.05456cs.SE
收藏

软件漏洞数据集的数据质量

Data Quality for Software Vulnerability Datasets

Roland Croft, M. Ali Babar, Mehdi Kholoosi

摘要:

使用基于学习的技术来实现自动化的软件漏洞检测一直是软件安全领域内的长期兴趣。这些数据驱动的解决方案由用于培训和基准测试的大型软件漏洞数据集支持。然而,我们观察到,为这些解决方案提供动力的数据质量目前考虑不周,阻碍了所产生结果的可靠性和价值。虽然人们对软件漏洞数据准备挑战的认识不断提高,但对软件漏洞数据质量的潜在负面影响的调查却很少。例如,我们无法确认漏洞标签是否正确或一致。我们的研究旨在通过检查四个国家的最先进的软件漏洞数据集的五个固有的数据质量属性,以及问题可能对软件漏洞预测模型的后续影响,以解决这些缺点。令人惊讶的是,我们发现所有分析的数据集都存在一些数据质量问题。特别是,我们发现20-71%的漏洞标签在现实世界的数据集中是不准确的,17-99%的数据点是重复的。我们观察到,这些问题可能会对下游模型造成重大影响,要么阻止有效的模型训练,要么提高基准性能。我们主张必须克服这些挑战。我们的研究结果将使更好地考虑和评估软件漏洞数据质量的未来。

英文摘要:

The use of learning-based techniques to achieve automated software vulnerability detection has been of longstanding interest within the software security domain. These data-driven solutions are enabled by large software vulnerability datasets used for training and benchmarking. However, we observe that the quality of the data powering these solutions is currently ill-considered, hindering the reliability and value of produced outcomes. Whilst awareness of software vulnerability data preparation challenges is growing, there has been little investigation into the potential negative impacts of software vulnerability data quality. For instance, we lack confirmation that vulnerability labels are correct or consistent. Our study seeks to address such shortcomings by inspecting five inherent data quality attributes for four state-of-the-art software vulnerability datasets and the subsequent impacts that issues can have on software vulnerability prediction models. Surprisingly, we found that all the analyzed datasets exhibit some data quality problems. In particular, we found 20-71% of vulnerability labels to be inaccurate in real-world datasets, and 17-99% of data points were duplicated. We observed that these issues could cause significant impacts on downstream models, either preventing effective model training or inflating benchmark performance. We advocate for the need to overcome such challenges. Our findings will enable better consideration and assessment of software vulnerability data quality in the future.

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

↑