arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.05097cs.CRcs.SE
收藏

你忘记fork了吗?通过全球历史分析检测开源fork中的单日漏洞

Did You Forkget It? Detecting One-Day Vulnerabilities in Open-source ForksWith Global History Analysis

University of Rennes(雷恩大学);Inria(法国国家信息与自动化研究所)

Romain Lefeuvre, Charly Reux, Stefano Zacchiroli, Olivier Barais, Benoit Combemale

AI总结:

本文提出一种全球历史分析方法,用于检测开源fork中的单日漏洞,通过传播漏洞信息和自动化影响分析,发现135个高严重性漏洞。

摘要:

跟踪从第三方开源软件继承的漏洞是一个众所周知的挑战,通常通过追溯依赖信息的线程来解决。然而,漏洞也可以通过fork传播:一个在引入漏洞后但尚未修补前被fork的代码仓库,可能在原始仓库中漏洞被修复后仍保持漏洞。历史分析方法用于大规模跟踪易受攻击的软件版本。然而,此类方法无法追踪fork中的漏洞,使fork维护者不得不手动识别。本文提出了一种全球历史分析方法,帮助软件开发人员识别fork仓库中的单日(已知但未修补)漏洞。利用公共代码的全球图谱,如Software Heritage档案馆所捕获,我们的方法在提交级别传播漏洞信息,并进行自动化影响分析。从7162个在OSV中列出有漏洞提交的仓库开始,我们传播漏洞信息到220万个fork。我们通过过滤具有显著用户基础的fork,其最新提交仍可能有漏洞,手动审计代码,并联系维护者进行确认和负责任的披露来评估我们的方法。此过程发现了135个高严重性单日漏洞,精度为0.69,其中9个已得到维护者的确认。

英文摘要:

Tracking vulnerabilities inherited from third-party open-source software is a well-known challenge, often addressed by tracing the threads of dependency information. However, vulnerabilities can also propagate through forking: a code repository forked after the introduction of a vulnerability, but before it is patched, may remain vulnerable long after the vulnerability has been fixed in the initial repository. History analysis approaches are used to track vulnerable software versions at scale. However, such approaches fail to track vulnerabilities in forks, leaving fork maintainers to identify them manually. This paper presents a global history analysis approach to help software developers identify one-day (known but unpatched) vulnerabilities in forked repositories. Leveraging the global graph of public code, as captured by the Software Heritage archive, our approach propagates vulnerability information at the commit level and performs automated impact analysis. Starting from 7162 repositories with vulnerable commits listed in OSV, we propagate vulnerability information to 2.2 million forks. We evaluate our approach by filtering forks with significant user bases whose latest commit is still potentially vulnerable, manually auditing the code, and contacting maintainers for confirmation and responsible disclosure. This process identified 135 high-severity one-day vulnerabilities, achieving a precision of 0.69, with 9 confirmed by maintainers.

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

↑