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

VFFINDER:一种基于图的自动化静默漏洞修复识别方法

VFFINDER: A Graph-based Approach for Automated Silent Vulnerability-Fix Identification

Son Nguyen, Thanh Trong Vu, Hieu Dinh Vo

AI总结:

针对开源项目静默漏洞修复难以识别的问题,提出基于图神经网络VFFINDER方法,利用AST结构特征区分修复与非修复提交,在36K+提交数据集上显著提升精确率、召回率和F1,并加速识别过程。

摘要:

软件项目对第三方库的日益依赖引发了对这些库安全性的担忧,因为其中可能存在隐藏漏洞。由于修复与公开披露之间存在时间差,管理这些漏洞颇具挑战性。此外,相当一部分开源项目在不披露的情况下静默修复漏洞,影响了漏洞管理。现有的工具如OWASP严重依赖公开披露,这阻碍了它们在检测未知漏洞方面的有效性。为解决这一问题,自动化识别漏洞修复提交的方法应运而生。然而,识别静默漏洞修复仍然具有挑战性。本文提出了VFFINDER,一种新颖的基于图的自动化静默漏洞修复识别方法。VFFINDER使用抽象语法树(ASTs)捕获结构变化,并将其表示为带注释的ASTs。VFFINDER利用基于注意力的图神经网络模型提取结构特征,以区分漏洞修复提交与非修复提交。我们进行了实验,在507个真实世界C/C++项目中的36K+个修复和非修复提交数据集上评估VFFINDER。结果表明,VFFINDER在精确率上显著提升了最先进方法39-83%,召回率提升19-148%,F1值提升30-109%。特别是,与现有方法相比,VFFINDER在相同的5%审查工作量下,将静默修复识别过程加速了高达47%。

英文摘要:

The increasing reliance of software projects on third-party libraries has raised concerns about the security of these libraries due to hidden vulnerabilities. Managing these vulnerabilities is challenging due to the time gap between fixes and public disclosures. Moreover, a significant portion of open-source projects silently fix vulnerabilities without disclosure, impacting vulnerability management. Existing tools like OWASP heavily rely on public disclosures, hindering their effectiveness in detecting unknown vulnerabilities. To tackle this problem, automated identification of vulnerability-fixing commits has emerged. However, identifying silent vulnerability fixes remains challenging. This paper presents VFFINDER, a novel graph-based approach for automated silent vulnerability fix identification. VFFINDER captures structural changes using Abstract Syntax Trees (ASTs) and represents them in annotated ASTs. VFFINDER distinguishes vulnerability-fixing commits from non-fixing ones using attention-based graph neural network models to extract structural features. We conducted experiments to evaluate VFFINDER on a dataset of 36K+ fixing and non-fixing commits in 507 real-world C/C++ projects. Our results show that VFFINDER significantly improves the state-of-the-art methods by 39-83% in Precision, 19-148% in Recall, and 30-109% in F1. Especially, VFFINDER speeds up the silent fix identification process by up to 47% with the same review effort of 5% compared to the existing approaches.

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

↑