MVD: Memory-Related Vulnerability Detection Based on Flow-Sensitive Graph Neural Networks

Sicong Cao, Xiaobing Sun, Lili Bo, Rongxin Wu, Bin Li +1 more
3/5/2022
160 citations
cs.CRcs.SE
gnn

Official code: MVDetection/MVD (22 stars, Python, last commit 2021-11-17).

Abstract

Memory-related vulnerabilities constitute severe threats to the security of modern software. Despite the success of deep learning-based approaches to generic vulnerability detection, they are still limited by the underutilization of flow information when applied for detecting memory-related vulnerabilities, leading to high false positives.

Show full abstract

In this paper,we propose MVD, a statement-level Memory-related Vulnerability Detection approach based on flow-sensitive graph neural networks (FS-GNN). FS-GNN is employed to jointly embed both unstructured information (i.e., source code) and structured information (i.e., control- and data-flow) to capture implicit memory-related vulnerability patterns. We evaluate MVD on the dataset which contains 4,353 real-world memory-related vulnerabilities, and compare our approach with three state-of-the-art deep learning-based approaches as well as five popular static analysisbased memory detectors. The experiment results show that MVD achieves better detection accuracy, outperforming both state-of-theart DL-based and static analysis-based approaches. Furthermore, MVD makes a great trade-off between accuracy and efficiency.

View on arXivView PDF

Code Implementations(1)

MVDetection/MVDOfficial100%
223PythonAug 24, 20215 years ago

Similar Papers

Cite this paper

@article{cao2022mvd,
  title  = {MVD: Memory-Related Vulnerability Detection Based on Flow-Sensitive Graph Neural Networks},
  author = {Sicong Cao and Xiaobing Sun and Lili Bo and Rongxin Wu and Bin Li and Chuanqi Tao},
  year   = {2022},
  eprint = {2203.02660},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.02660}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.02660.svg)](https://codeofpaper.com/paper/2203.02660)

Discussion