arrow
返回

SedSVD: Statement-level software vulnerability detection based on Relational Graph Convolutional Network with subgraph embedding

delete2023-06-01
delete15
PRE
AI
董玉坤 封面图
董玉坤 (Yukun Dong) *
Y
Yeer Tang
X
Xiaotong Cheng
Y
Yufei Yang
S
Shuqi Wang
DOI:10.1016/j.infsof.2023.107168delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Context: Current deep-learning based vulnerability detection methods have been proven more automatic and correct to a certain extent, nonetheless, they are limited to detect at function-level or file-level, which can hinder software developers from acquiring more detailed information and conducting more targeted repairs. Graph-based detection methods have shown dominant performance over others. Unfortunately, the information they reveal has not been fully utilized.Objective: We design SedSVD (Subgraph embedding driven Statement-level Vulnerability Detection) with two objectives: (i) to better utilize the information the code-related graphs can reflect; (ii) to detect vulnerabilities at a finer-grained level.Method: In our work, we propose a novel graph-based detection framework that embeds graphs at subgraph-level to realize statement-level detection. It first leverages Code Property Graph (CPG) to learn both semantic and syntactic information from source code, and then selects several center nodes (code elements) in CPG to build their subgraphs. After embedding each subgraph with its nodes and edges, we apply Relational Graph Convolutional Network (RGCN) to process different edges differently. A Multi-Layer Perceptron (MLP) layer is further added to ensure its prediction performance.Results: We conduct our experiments on C/C++ projects from NVD and SARD. Experimental results show that SedSVD achieves 95.15% in F1-measure which proves our work to be more effective.Conclusion: Our work detects at a finer-grained level and achieves higher F1-measure than existing state-of-art vulnerability detection techniques. Besides, we provide a more detailed detection report pointing the specific error code elements within statements.
Keyword:
Software vulnerability detection
Code property graph
Relational graph convolutional network
Subgraph embedding
Statement-level detection

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

C
china university of petroleum
学者数:
4.1W
论文数: 2.7W
被引数: 30
引用论文

引用论文

err分享
err收藏
err分享
err收藏
err分享
err收藏
LSTM: A Search Space OdysseyLSTM: 搜索空间奥德赛
err2017-10-01
err3.7K
errOAAI
errGreff, Klaus; Srivastava, Rupesh K.; Koutnik, Jan; Steunebrink, Bas R.; Schmidhuber, Juergen
err分享
err收藏
Structural pavement responses using nonlinear finite element analysis of unbound materials
err2017-07-20
err0
PREAI
errAndreas Loizos; Konstantinos V. Spiliopoulos; Brad Cliatt; Konstantinos Gkyrtis
err分享
err收藏
IoT-based Cloud Service for Secured Android Markets using PDG-based Deep Learning Classification
err2021-10-22
err0
PREAI
errUllah, Farhan; Naeem, Muhammad Rashid; Bajahzar, Abdullah S.; Al-Turjman, Fadi
err分享
err收藏
学者 查看更多内容