S2Vul: Vulnerability Analysis Based on Self-supervised Information Integration
The analysis of static vulnerabilities, which consists of detection, classification, and localization, is a perpetually significant concern in software security. The advancement of neural networks has led to a greater emphasis on vulnerability detection research. However, most research faced obstacles in attempting to perform satisfactorily on real-world datasets. Furthermore, an additional obstacle is the substantial reliance of the studies on labels, which requires considerable effort for labeling, restricts the model’s scalability, and potentially results in adverse effects due to inaccurate labels.This study introduces an approach for efficiently training the model to adjust to various vulnerability analysis tasks. By synthesizing a wide range of information extracted from the source code, the model allows the network to collect substantial data to identify vulnerabilities. In addition, unsupervised representation learning is employed to mitigate the influence of labels in the method. The model could be applied to a wide range of vulnerability-related tasks by training task-specific classifiers at a minimal cost. The model was evaluated using two public vulnerability datasets. The test results validate the efficacy of our model, which achieves an accuracy of more than 70% in localization, an accuracy of more than 98% in detection, and a greater accuracy above 70% in classification when evaluating the real-world dataset, surpassing the performance of peer approaches.
Authors
- Haoran Xu (ORCID: https://orcid.org/0000-0003-4953-2473)
- Shaojie Yang (ORCID: https://orcid.org/0000-0001-8056-3206)
- Fangliang Xu (ORCID: https://orcid.org/0000-0002-4099-560X)
- Yongjun Wang (ORCID: https://orcid.org/0000-0002-1796-5576)
Institutions
- National University of Defense Technology (CN)
Publication Details
- Published
- 2024-10-28
- DOI
- https://doi.org/10.1109/issre62328.2024.00019
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00