arrow
返回

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

Mrc-vulloc: 基于多选择阅读理解的软件源代码漏洞定位

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收藏
摘要

摘要

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
Vulnerability Positioner (VulP): enhancing code vulnerability localization with CodeBERT
err2026-01-08
err0
PREAI
errXuejun Zhang; Zhuo Chen; Fenghe Zhang; Shuqin Xu; Xiaohong Jia
err分享
err收藏
Android Source Code Vulnerability Detection: A Systematic Literature ReviewAndroid源代码漏洞检测: 系统的文献综述
err2023-01-16
err22
errOAAI
errSenanayake, Janaka; Kalutarage, Harsha; Al-Kadri, Mhd Omar; Petrovski, Andrei; Piras, Luca
err分享
err收藏
Software Vulnerability Detection Using Informed Code Graph Pruning基于知情代码图剪枝的软件漏洞检测
err2023-01-01
err0
errOAAI
errGear, Joseph; Xu, Yue; Foo, Ernest; Gauravaram, Praveen; Jadidi, Zahra; Simpson, Leonie
err分享
err收藏
Software system comparison with semantic source code embeddings
err2022-03-17
err6
PREAI
errKarakatic, Saso; Milosevic, Aleksej; Hericko, Tjasa
err分享
err收藏

期刊

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

机构

河南大学 封面图
河南大学
学者数:
2.3K
论文数: 677
被引数: 9.8K
哈尔滨工程大学 封面图
哈尔滨工程大学
学者数:
3.2K
论文数: 962
被引数: 1.0W
引用论文

引用论文

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收藏
没有更多内容