ICVul:一个具有全面元数据和漏洞贡献提交(VCC)的标注完善的 C/C++ 漏洞数据集
ICVul: A Well-labeled C/C++ Vulnerability Dataset with Comprehensive Metadata and VCCs
AI总结:
本文构建高质量 C/C++ 漏洞数据集 ICVul,通过 NVD 与 GitHub 修复提交筛选、SZZ 追踪 VCC 及 ESC 技术保证标签可信,并公开数据集与构建框架。
摘要:
基于机器学习的软件漏洞检测需要高质量数据集,这对于训练有效模型至关重要。为应对数据标签质量、多样性和全面性方面的挑战,我们构建了 ICVul,这是一个强调数据质量并富含全面元数据的数据集,其中包括漏洞贡献提交(Vulnerability-Contributing Commits,VCC)。我们首先从 NVD 中筛选通用漏洞披露(Common Vulnerabilities and Exposures)记录,仅保留与 GitHub 修复提交关联的条目。随后,我们从这些提交中提取函数和文件以及相关元数据,并使用 SZZ 算法追踪 VCC。为进一步提升标签可靠性,我们开发了 ESC(Eliminate Suspicious Commit,消除可疑提交)技术,以确保数据标签可信。该数据集存储在类关系数据库中,以提升可用性和数据完整性。ICVul 及其构建框架均在 GitHub 上公开可用,为相关领域研究提供支持。
英文摘要:
Machine learning-based software vulnerability detection requires high-quality datasets, which is essential for training effective models. To address challenges related to data label quality, diversity, and comprehensiveness, we constructed ICVul, a dataset emphasizing data quality and enriched with comprehensive metadata, including Vulnerability-Contributing Commits (VCCs). We began by filtering Common Vulnerabilities and Exposures from the NVD, retaining only those linked to GitHub fix commits. Then we extracted functions and files along with relevant metadata from these commits and used the SZZ algorithm to trace VCCs. To further enhance label reliability, we developed the ESC (Eliminate Suspicious Commit) technique, ensuring credible data labels. The dataset is stored in a relational-like database for improved usability and data integrity. Both ICVul and its construction framework are publicly accessible on GitHub, supporting research in related field.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。