On the Effectiveness of Function-Level Vulnerability Detectors for Inter-Procedural Vulnerabilities
Open Access
- 12 April 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-12
Abstract
Software vulnerabilities are a major cyber threat and it is important to detect them. One important approach to detecting vulnerabilities is to use deep learning while treating a program function as a whole, known as function-level vulnerability detectors. However, the limitation of this approach is not understood. In this paper, we investigate its limitation in detecting one class of vulnerabilities known as inter-procedural vulnerabilities, where the to-be-patched statements and the vulnerability-triggering statements belong to different functions. For this purpose, we create the first Inter-Procedural Vulnerability Dataset (InterPVD) based on C/C++ open-source software, and we propose a tool dubbed VulTrigger for identifying vulnerability-triggering statements across functions. Experimental results show that VulTrigger can effectively identify vulnerability-triggering statements and inter-procedural vulnerabilities. Our findings include: (i) inter-procedural vulnerabilities are prevalent with an average of 2.8 inter-procedural layers; and (ii) function-level vulnerability detectors are much less effective in detecting to-be-patched functions of inter-procedural vulnerabilities than detecting their counterparts of intra-procedural vulnerabilities.Keywords
Funding Information
- National Natural Science Foundation of China (62272187)
- National Science Foundation (2122631, 2115134, 1910488)
- Colorado State Bill (18-086)
This publication has 40 references indexed in Scilit:
- Deep Learning Based Vulnerability Detection: Are We There Yet?IEEE Transactions on Software Engineering, 2021
- VulDeeLocator: A Deep Learning-Based Fine-Grained Vulnerability DetectorIEEE Transactions on Dependable and Secure Computing, 2021
- SySeVR: A Framework for Using Deep Learning to Detect Software VulnerabilitiesIEEE Transactions on Dependable and Secure Computing, 2021
- Combining Graph-Based Learning With Automated Data Collection for Code Vulnerability DetectionIEEE Transactions on Information Forensics and Security, 2020
- An Empirical Study of C++ Vulnerabilities in Crowd-Sourced Code ExamplesIEEE Transactions on Software Engineering, 2020
- The Art, Science, and Engineering of Fuzzing: A SurveyIEEE Transactions on Software Engineering, 2019
- Large-Scale Empirical Study of Important Features Indicative of Discovered Vulnerabilities to Assess Application SecurityIEEE Transactions on Information Forensics and Security, 2019
- Software systems at risk: An empirical study of cloned vulnerabilities in practiceComputers & Security, 2018
- Modeling and Discovering Vulnerabilities with Code Property Graphs2014
- ReDeBug: Finding Unpatched Code Clones in Entire OS Distributions2012