Automatic software vulnerability classification by extracting vulnerability triggers

JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS(2024)

引用 4|浏览0
暂无评分
摘要
Vulnerability classification is a significant activity in software development and software maintenance. Natural Language Processing (NLP) techniques, which utilize the descriptions in public repositories, are widely used in automatic software vulnerability classification. However, vulnerability descriptions are ordinarily short and contain many technical terms, making them difficult for machines to automatically comprehend. In this paper, we present an approach based on vulnerability triggers to automatically classify vulnerabilities. First, we extract vulnerability triggers with Bert Question and Answer (Bert Q&A). Then, we use Recurrent Convolutional Neural Networks for Text classification (TextRCNN) to classify vulnerabilities based on Common Weakness Enumeration (CWE). We statistically perform an analysis of vulnerability triggers and comprehensively evaluate the classification performance of our approach on a set of 4769 prelabeled vulnerability entries, as well as compare it with state-of-the-art vulnerability classification approaches. Experiment results show that our approach can achieve a F1-measure of 95% on extraction and 80.8% on classification.
更多
查看译文
关键词
Bert Q&A,TextRCNN,triggers extraction,vulnerability classification
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要