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

通过互联多源信息识别漏洞

Vulnerability Identification by Harnessing Inter-connected Multi-Source Information

Beihang University(北京航空航天大学);Hangzhou Innovation Institute of Beihang University(北京航空航天大学杭州创新研究院)

Liyou Chen, Hailong Sun, Xiang Gao, Lin Shi, Yixin Yang, Yi Xu

AI总结:

本文提出利用多源信息互联提升漏洞识别与分类效果,通过多头注意力机制提取语义信息,实现更高的F1分数。

摘要:

在现代软件开发中,第三方开源库的使用广泛,但其依赖关系导致库中的漏洞对下游软件构成重大安全威胁。现有研究主要基于bug报告、提交信息或代码变更来识别漏洞补丁,忽略了各种信息源之间的丰富语义联系。本文提出通过训练AI模型整合多源信息,提升漏洞识别和分类效果。我们引入VPFinder工具,利用多头注意力机制从多种来源中提取高层语义信息。评估结果表明,VPFinder在漏洞识别任务中达到0.941的F1分数,在漏洞类型分类任务中达到0.610的F1分数,比现有最先进方法高出5.4%。

英文摘要:

The utilization of third-party open-source libraries is widespread in modern software development. Due to the dependency relationships, vulnerabilities within open-source libraries pose significant security threats to downstream software. However, the library vulnerabilities are usually implicitly reported and patched, without explicit notification to dependent software, leaving the downstream software vulnerable to potential attacks. Existing research efforts primarily focus on identifying vulnerability patches according to bug reports, commit messages, or code changes, overlooking the rich semantic connections among various sources of information. In this paper, our main insight is that various sources of information, including the vulnerability descriptions (e.g., bug reports) and its fixing strategies (e.g., commit messages and code changes), are highly interconnected. They express the high-level semantic information about the symptom, root cause and fixing strategies of the bugs. Hence, we propose an approach that involves training an AI model to integrate multiple sources, thus enhancing the effectiveness of vulnerability identification and vulnerability type classification. We introduce VPFinder, a tool that utilizes multi-head attention mechanisms to extract high-level semantic information from diverse sources. Evaluation results demonstrate that VPFinder achieves remarkable 0.941 F1-score in vulnerability identification task and 0.610 F1-score in vulnerability type classification task, outperforming state-of-the-art approaches by 5.4%.

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

↑