arrow
返回

MRC-VulLoc: Software source code vulnerability localization based on multi-choice reading comprehension

delete2024-06-01
delete0
PRE
AI
G
Gaigai Tang
L
Lin Yang
L
Long Zhang
H
Hongyu Kuang
王会强 封面图
王会强 (Huiqiang Wang) *
DOI:10.1016/j.cose.2024.103816delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Recently, automatic vulnerability detection approaches based on machine learning (ML) have outperformed traditional rule -based approaches in terms of detection performance. Existing ML -based approaches typically concentrate on function or line granularity, which fail to realize accurate vulnerability localization and are insufficient to support effective root cause analysis of vulnerability. To address this issue, we propose a new approach that maps the multi -choice reading comprehension (MRC) task to the vulnerability localization task at the granularity of vulnerability triggering path named MRC-VulLoc. Initially, we design six large datasets (including C/C++ and Java languages) in the form of MRC. Subsequently, we introduce a novel pre -trained vulnerability localization model, combining the effective code semantic comprehension ability of pre -trained model with the advantages of Bidirectional Short -Term Memory Network (Bi-LSTM) and Convolutional Neural Network (CNN) models. Lastly, we conduct experiments to evaluate the vulnerability localization with several state-of-the-art MRC approaches and vulnerability detectors. Experimental results demonstrate the effectiveness of the proposed datasets in evaluating MRC approaches for vulnerability localization. Furthermore, MRC-VulLoc achieves higher precision on vulnerability localization compared to comparative vulnerability detectors.
Keyword:
Source code
Vulnerability localization
Machine learning
MRC

期刊

C
Computers and Security
IF:
5.4
论文数:
4.6K
被引数:
1.4W

机构

H
Harbin Engineering University
学者数:
1.9W
论文数: 1.3W
被引数: 1.3W
H
henan university
学者数:
2.3W
论文数: 1.3W
被引数: 20
引用论文

引用论文

Vers des formules infantiles biomimétiques de la structure du lait maternel et de son comportement digestif ?
err2018-08-01
err0
PREAI
errClaire Bourlieu; Amélie Deglaire; Samira Cassia de Oliveira; Olivier Ménard; Yann Le Gouar; Frédéric Carrière; Didier Dupont
err分享
err收藏
err分享
err收藏
err分享
err收藏
Support-vector networks支持向量网络
err1995-09-01
err0
errOAAI
errCorinna Cortes; Vladimir Vapnik
err分享
err收藏
VDSimilar: Vulnerability detection based on code similarity of vulnerabilities and patches
err2021-11-01
err36
PREAI
errSun, Hao; Cui, Lei; Li, Lun; Ding, Zhenquan; Hao, Zhiyu; Cui, Jiancong; Liu, Peng
err分享
err收藏
Combining Graph-Based Learning With Automated Data Collection for Code Vulnerability Detection基于图的学习与自动数据收集相结合的代码漏洞检测
err2021-01-01
err166
errOAAI
errWang, Huanting; Ye, Guixin; Tang, Zhanyong; Tan, Shin Hwei; Huang, Songfang; Fang, Dingyi; Feng, Yansong; Bian, Lizhong; Wang, Zheng
err分享
err收藏
没有更多内容