漏洞丰富性:代码中无限漏洞的正式证明
Vulnerability Abundance: A formal proof of infinite vulnerabilities in code
AI总结:
本文通过构造性证明,展示了一个C程序能产生可数无限个独立CVE可分配的软件漏洞,并引入漏洞丰富性概念,探讨其在软件漏洞分布中的量化意义。
摘要:
我们展示了一个构造性证明,表明一个C程序——漏洞工厂——可以产生可数无限个不同的、独立可分配CVE编号的软件漏洞。我们使用基本集合论形式化论证,验证其符合MITRE的CVE编号规则,勾勒出模型检验分析以支持无界漏洞生成,并提供图灵机特征化,将其置于经典可计算性理论中。我们随后将此结果置于长期争论中,探讨软件中未发现漏洞是密集还是稀疏,并引入漏洞丰富性概念:一种类似于化学元素丰富性的定量类比,描述全球软件库中漏洞类别的比例分布。由于不同编程语言允许不同类型的漏洞,并且语言流行度随时间变化,漏洞丰富性既不静态也不均匀。关键在于区分无限漏洞与远小的exploit集合:实证证据表明,少于6%的已发布CVE在野外被利用,且漏洞利用频率不仅取决于漏洞丰富性,还取决于受影响软件的市场份额。我们主张测量漏洞丰富性及其与软件部署的相互作用对漏洞预防和网络风险分析具有实用价值。我们得出结论:如果一个程序能容纳无限多个漏洞,那么所有软件漏洞的集合必然无限,我们建议漏洞工厂可能成为未来漏洞理论正式结果的可重用证明对象,即一个基础的`测试对象`。
英文摘要:
We present a constructive proof that a single C program, the \emph{Vulnerability Factory}, admits a countably infinite set of distinct, independently CVE-assignable software vulnerabilities. We formalise the argument using elementary set theory, verify it against MITRE's CVE Numbering Authority counting rules, sketch a model-checking analysis that corroborates unbounded vulnerability generation, and provide a Turing-machine characterisation that situates the result within classical computability theory. We then contextualise this result within the long-running debate on whether undiscovered vulnerabilities in software are \emph{dense} or \emph{sparse}, and introduce the concept of \emph{vulnerability abundance}: a quantitative analogy to chemical elemental abundance that describes the proportional distribution of vulnerability classes across the global software corpus. Because different programming languages render different vulnerability classes possible or impossible, and because language popularity shifts over time, vulnerability abundance is neither static nor uniform. Crucially, we distinguish between infinite \emph{vulnerabilities} and the far smaller set of \emph{exploits}: empirical evidence suggests that fewer than 6\% of published CVEs are ever exploited in the wild, and that exploitation frequency depends not only on vulnerability abundance but on the market share of the affected software. We argue that measuring vulnerability abundance, and its interaction with software deployment, has practical value for both vulnerability prevention and cyber-risk analysis. We conclude that if one programme can harbour infinitely many vulnerabilities, the set of all software vulnerabilities is necessarily infinite, and we suggest the Vulnerability Factory may serve as a reusable proof artifact, a foundational `test object',for future formal results in vulnerability theory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。