Lune

ICSE2022Top-tier venue

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

Sicong Cao, Xiaobing Sun, Lili Bo, Rongxin Wu, Bin Li, Chuanqi Tao

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. 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

24 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • An Empirical Study of Deep Learning Models for Vulnerability Detection cites VulDeePecker: A Deep Learning-Based System for Vulnerability Detection
  • An Empirical Study of Deep Learning Models for Vulnerability Detection cites Vulnerability detection with fine-grained interpretations
  • Vulnerability Detection with Graph Simplification and Enhanced Graph Representation Learning cites VulDeePecker: A Deep Learning-Based System for Vulnerability Detection
  • Vulnerability Detection with Graph Simplification and Enhanced Graph Representation Learning cites Vulnerability detection with fine-grained interpretations
  • Coca: Improving and Explaining Graph Neural Network-Based Vulnerability Detection Systems cites An Empirical Study of Deep Learning Models for Vulnerability Detection
  • Coca: Improving and Explaining Graph Neural Network-Based Vulnerability Detection Systems cites VulDeePecker: A Deep Learning-Based System for Vulnerability Detection
  • Coca: Improving and Explaining Graph Neural Network-Based Vulnerability Detection Systems cites Vulnerability Detection with Graph Simplification and Enhanced Graph Representation Learning
  • Coca: Improving and Explaining Graph Neural Network-Based Vulnerability Detection Systems cites Vulnerability detection with fine-grained interpretations
  • Distinguishing Look-Alike Innocent and Vulnerable Code by Subtle Semantic Representation Learning and Explanation cites VulDeePecker: A Deep Learning-Based System for Vulnerability Detection
  • Distinguishing Look-Alike Innocent and Vulnerable Code by Subtle Semantic Representation Learning and Explanation cites Vulnerability detection with fine-grained interpretations
  • Vulnerability detection with fine-grained interpretations cites VulDeePecker: A Deep Learning-Based System for Vulnerability Detection
  • Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability Detection cites An Empirical Study of Deep Learning Models for Vulnerability Detection
  • Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability Detection cites Vulnerability detection with fine-grained interpretations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers24

  1. An Empirical Study of Deep Learning Models for Vulnerability DetectionBenjamin Steenhoek, Md Mahbubur Rahman, Richard Jiles, Wei LeICSE 2023 · 107 citations
  2. Vulnerability Detection with Graph Simplification and Enhanced Graph Representation LearningXin-Cheng Wen, Yupan Chen, Cuiyun Gao, Hongyu Zhang et al.ICSE 2023 · 77 citations
  3. Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability DetectionBenjamin Steenhoek, Hongyang Gao, Wei LeICSE 2024 · 54 citations
  4. Distinguishing Look-Alike Innocent and Vulnerable Code by Subtle Semantic Representation Learning and ExplanationChao Ni, Xin Yin, Kaiwen Yang, Dehai Zhao et al.FSE 2023 · 42 citations
  5. Coca: Improving and Explaining Graph Neural Network-Based Vulnerability Detection SystemsSicong Cao, Xiaobing Sun, Xiaoxue Wu, David Lo et al.ICSE 2024 · 27 citations

Builds on5

  1. Vulnerability detection with fine-grained interpretationsYi Li, Shaohua Wang, Tien N. NguyenFSE 2021 · 283 citations
  2. Boosting coverage-based fault localization via graph-based representation learningYiling Lou, Qihao Zhu, Jinhao Dong, Xia Li et al.FSE 2021 · 157 citations
  3. Detecting Missing-Check Bugs via Semantic- and Context-Aware Criticalness and Constraints InferencesKangjie Lu, Aditya Pakki, Qiushi WuUSENIX Security 2019 · 97 citations
  4. Runtime detection of memory errors with smart statusZhe Chen, Chong Wang, Junqi Yan, Yulei Sui et al.ISSTA 2021 · 16 citations
  5. VulDeePecker: A Deep Learning-Based System for Vulnerability DetectionZhen Li, Deqing Zou, Shouhuai Xu, Xinyu Ou et al.NDSS 2018

Related papers

  1. DeepVD: Toward Class-Separation Features for Neural Network Vulnerability DetectionWenbo Wang, Tien N. Nguyen, Shaohua Wang, Yi Li et al.ICSE 2023 · 32 citations
  2. Suitable is the Best: Task-Oriented Knowledge Fusion in Vulnerability DetectionJingjing Wang, Minhuan Huang, Yuanping Nie, Xiang Li et al.NeurIPS 2024 · 1 citation
  3. Path-sensitive code embedding via contrastive learning for software vulnerability detectionXiao Cheng, Guanqin Zhang, Haoyu Wang, Yulei SuiISSTA 2022 · 98 citations
  4. Learning to Locate and Describe VulnerabilitiesJian Zhang, Shangqing Liu, Xu Wang, Tianlin Li et al.ASE 2023 · 8 citations
  5. Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity DetectionXiaojun Xu, Chang Liu, Qian Feng, Heng Yin et al.CCS 2017 · 682 citations
Dusk over the sea between two cliffs drawn in fine vertical lines