arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.11202cs.SEcs.CRcs.ET
收藏

预测软件选择的风险:一个从库依赖和源代码演化预测安全漏洞的模型

Forecasting the risk of software choices: A model to foretell security vulnerabilities from library dependencies and source code evolution

Carlos E. Budde, Ranindya Paramitha, Fabio Massacci

AI总结:

本文提出一个白盒轻量级模型,通过形式化源代码演化与库依赖,在库级别预测软件项目未来面临CVE披露的概率,辅助项目特定技术决策与生态系统健康度量。

摘要:

软件安全主要研究漏洞检测:我的代码今天是否有漏洞?这阻碍了风险估计,因此预测未来漏洞发生的新方法正在涌现。尽管这些方法有用,但它们粒度较粗,难以用于项目特定的技术决策。我们引入了一个能够在库级别进行漏洞预测的模型。通过将源代码的时间演化与库依赖一起形式化,我们的模型能够估计一个软件项目在未来时间窗口内面临 CVE 披露的概率。我们的方法是白盒且轻量级的,我们通过涉及 1255 个 CVE 和 768 个 Java 库的实验对此进行了证明,并将其作为开源工件公开。除了概率估计(例如用于规划软件更新)外,这种形式化模型还可用于检测项目中的安全敏感点,或衡量开发生态系统的健康度。

英文摘要:

Software security mainly studies vulnerability detection: is my code vulnerable today? This hinders risk estimation, so new approaches are emerging to forecast the occurrence of future vulnerabilities. While useful, these approaches are coarse-grained and hard to employ for project-specific technical decisions. We introduce a model capable of vulnerability forecasting at library level. Formalising source-code evolution in time together with library dependency, our model can estimate the probability that a software project faces a CVE disclosure in a future time window. Our approach is white-box and lightweight, which we demonstrate via experiments involving 1255 CVEs and 768 Java libraries, made public as an open-source artifact. Besides probabilities estimation, e.g. to plan software updates, this formal model can be used to detect security-sensitive points in a project, or measure the health of a development ecosystem.

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

↑