arrow
返回

Learning to Detect Memory-related Vulnerabilities

delete2023-12-23
delete3
PRE
AI
S
Sicong Cao
X
Xiaobing Sun
L
Lili Bo *
吴
吴荣新 (Rongxin Wu)
B
Bin Li
X
Xiaoxue Wu
陶
陶传奇 (Chuanqi Tao)
T
Tao Zhang
W
Wei Liu
DOI:10.1145/3624744delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Memory-related vulnerabilities can result in performance degradation or even program crashes, constituting severe threats to the security of modern software. Despite the promising results of deep learning (DL)-based vulnerability detectors, there exist three main limitations: (1) rich contextual program semantics related to vulnerabilities have not yet been fully modeled; (2) multi-granularity vulnerability features in hierarchical code structure are still hard to be captured; and (3) heterogeneous flow information is not well utilized. To address these limitations, in this article, we propose a novel DL-based approach, called MVD+, to detect memory-related vulnerabilities at the statement-level. Specifically, it conducts both intraprocedural and interprocedural analysis to model vulnerability features, and adopts a hierarchical representation learning strategy, which performs syntax-aware neural embedding within statements and captures structured context information across statements based on a novel Flow-Sensitive Graph Neural Networks, to learn both syntactic and semantic features of vulnerable code. To demonstrate the performance, we conducted extensive experiments against eight state-of-the-art DL-based approaches as well as five well-known static analyzers on our constructed dataset with 6,879 vulnerabilities in 12 popular C/C++ applications. The experimental results confirmed that MVD+ can significantly outperform current state-of-the-art baselines and make a great trade-off between effectiveness and efficiency.
Keyword:
Statement-level vulnerability detection
abstract syntax tree
graph neural networks
flow analysis

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

Y
Yangzhou University
学者数:
2.8W
论文数: 1.9W
被引数: 3.3W
X
xiamen university
学者数:
5.9W
论文数: 3.8W
被引数: 67
引用论文

引用论文

SPVF: security property assisted vulnerability fixing via attention-based models
err2022-09-20
err12
PREAI
errZhou, Zhou; Bo, Lili; Wu, Xiaoxue; Sun, Xiaobing; Zhang, Tao; Li, Bin; Zhang, Jiale; Cao, Sicong
err分享
err收藏
err分享
err收藏
Unearthing the hidden world of roots: Root biomass and architecture differ among species within the same guild
err2017-10-12
err0
errOAAI
errKatherine Sinacore; Jefferson Scott Hall; Catherine Potvin; Alejandro A. Royo; Mark J. Ducey; Mark S. Ashton
err分享
err收藏
Micro FET pressure sensor manufactured using CMOS-MEMS technique
err2008-05-01
err0
PREAI
errChing-Liang Dai; Pin-Hsu Kao; Yao-Wei Tai; Chyan-Chyi Wu
err分享
err收藏
Urea-based Plant DNA Miniprep
err1994-01-01
err0
PREAI
errJychian Chen; Stephen Dellaporta
err分享
err收藏
学者 查看更多内容