Graph neural network based approach to automatically assigning common weakness enumeration identifiers for vulnerabilities


연구 분야: Strategies



학회: Cybersecurity


초록

Vulnerability reports are essential for improving software security since they record key information on vulnerabilities. In a report, CWE denotes the weakness of the vulnerability and thus helps quickly understand the cause of the vulnerability. Therefore, CWE assignment is useful for categorizing newly discovered vulnerabilities. In this paper, we propose an automatic CWE assignment method with graph neural networks. First, we prepare a dataset that contains 3394 real world vulnerabilities from Linux, OpenSSL, Wireshark and many other software programs. Then, we extract statements with vulnerability syntax features from these vulnerabilities and use program slicing to slice them according to the categories of syntax features. On top of slices, we represent these slices with graphs that characterize the data dependency and control dependency between statements. Finally, we employ the graph neural networks to learn the hidden information from these graphs and leverage the Siamese network to compute the similarity between vulnerability functions, thereby assigning CWE IDs for these vulnerabilities. The experimental results show that the proposed method is effective compared to existing methods.


Author Profile
Peng Liu

Key Lab of Education Blockchain and Intelligent Technology Ministry of Education Guangxi Normal University Guilin 541004 China

Andorra
Author Profile
Wenzhe Ye

Guangxi Key Lab of Multi-Source Information Mining and Security Guangxi Normal University Guilin 541004 China

Andorra
Author Profile
Haiying Duan

Key Lab of Education Blockchain and Intelligent Technology Ministry of Education Guangxi Normal University Guilin 541004 China

Andorra

📄 논문 정보

발행 연도 2023년
인용수 0
출판 국가 Andorra, China
사이트 Springer
좋아요 수 0

연관 논문 목록 (395건)