arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.07430cs.SEcs.CR
收藏

大胆追根溯源!通过特征推断补全长尾软件文本漏洞描述中缺失的关键维度

Do Chase Your Tail! Missing Key Aspects Augmentation in Textual Vulnerability Descriptions of Long-tail Software through Feature Inference

Linyi Han, Shidong Pan, Zhenchang Xing, Jiamou Sun, Sofonias Yitagesu, Xiaowang Zhang, Zhiyong Feng

AI总结:

针对长尾软件文本漏洞描述关键维度缺失的问题,提出含名称标准化、LLM生成、CWE聚类选例、NLI校验的特征推断框架,提升漏洞分析效率。

摘要:

补全文本漏洞描述(Textual Vulnerability Descriptions, TVDs)中缺失的关键维度对高效开展漏洞分析至关重要。例如,TVDs中的关键维度包括攻击向量、漏洞类型等,这些维度能帮助安全工程师及时理解并处置漏洞。对于用户基数庞大的软件(非长尾软件),补全这些缺失关键维度的技术已极大推动了漏洞分析与软件安全研究的发展。但用户基数有限的软件(长尾软件)常因软件名称不一致、TVD可获取量有限、存在领域专属术语而被忽视,这让漏洞分析与软件修复工作变得复杂。本文提出一种新型软件特征推断框架,专为长尾软件的TVD补全缺失关键维度而设计。首先,我们通过交叉比对政府数据库与通用漏洞披露(Common Vulnerabilities and Exposures, CVEs),解决社区维护的漏洞数据库中软件名称不规范的问题。其次,我们采用大语言模型(Large Language Models, LLMs)生成缺失的关键维度。但历史TVD数量有限限制了示例的多样性,为克服这一局限,我们利用通用弱点枚举(Common Weakness Enumeration, CWE)对所有TVD进行分类,并选取聚类中心作为代表性示例。为保证准确性,我们提出专为长尾软件设计的自然语言推理(Natural Language Inference, NLI)模型,用于识别并剔除错误响应。此外,我们还借助维基知识库为专有术语提供解释。

英文摘要:

Augmenting missing key aspects in Textual Vulnerability Descriptions (TVDs) is crucial for effective vulnerability analysis. For instance, in TVDs, key aspects include Attack Vector, Vulnerability Type, among others. These key aspects help security engineers understand and address the vulnerability in a timely manner. For software with a large user base (non-long-tail software), augmenting these missing key aspects has significantly advanced vulnerability analysis and software security research. However, software instances with a limited user base (long-tail software) often get overlooked due to inconsistency software names, TVD limited avaliability, and domain-specific jargon, which complicates vulnerability analysis and software repairs. In this paper, we introduce a novel software feature inference framework designed to augment the missing key aspects of TVDs for long-tail software. Firstly, we tackle the issue of non-standard software names found in community-maintained vulnerability databases by cross-referencing government databases with Common Vulnerabilities and Exposures (CVEs). Next, we employ Large Language Models (LLMs) to generate the missing key aspects. However, the limited availability of historical TVDs restricts the variety of examples. To overcome this limitation, we utilize the Common Weakness Enumeration (CWE) to classify all TVDs and select cluster centers as representative examples. To ensure accuracy, we present Natural Language Inference (NLI) models specifically designed for long-tail software. These models identify and eliminate incorrect responses. Additionally, we use a wiki repository to provide explanations for proprietary terms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑