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

沉默之声:从开源项目的秘密集成渠道中挖掘安全漏洞

The Sound of Silence: Mining Security Vulnerabilities from Secret Integration Channels in Open-Source Projects

Ralf Ramsauer, Lukas Bulwahn, Daniel Lohmann, Wolfgang Mauerer

摘要:

公共开发过程是开源项目的一个关键特征。然而,漏洞的修复通常是在一小群受信任的维护者之间私下讨论的,并且在没有事先公开参与的情况下进行集成。这是为了防止早期披露,并应对禁运和保密协议(NDA)规则。虽然常规的开发活动会留下公开可用的痕迹,但绕过标准流程的漏洞修复程序不会。我们提出了一个基于数据挖掘的方法来检测代码片段,从这种侵犯标准的过程。通过系统地将公共开发工件映射到源代码存储库,我们可以排除常规的过程活动,并推断出源于非公共集成渠道的违规行为。对于Linux内核,许多系统中最关键的组件,我们将我们的方法应用于Linux 5.4发布前的七个月。我们发现29个提交解决了12个漏洞。对于这些漏洞,我们的方法提供了2到179天的时间优势,可以在公开披露之前设计漏洞,并推出修复程序。在开放开发过程中建立的负责任的披露方法应该限制安全漏洞的过早可见性。然而,我们的方法表明,相反,它们打开了更多的可能性,以揭示这种改变,挫败了这个前提。最后,我们讨论的影响和部分对策。

英文摘要:

Public development processes are a key characteristic of open source projects. However, fixes for vulnerabilities are usually discussed privately among a small group of trusted maintainers, and integrated without prior public involvement. This is supposed to prevent early disclosure, and cope with embargo and non-disclosure agreement (NDA) rules. While regular development activities leave publicly available traces, fixes for vulnerabilities that bypass the standard process do not. We present a data-mining based approach to detect code fragments that arise from such infringements of the standard process. By systematically mapping public development artefacts to source code repositories, we can exclude regular process activities, and infer irregularities that stem from non-public integration channels. For the Linux kernel, the most crucial component of many systems, we apply our method to a period of seven months before the release of Linux 5.4. We find 29 commits that address 12 vulnerabilities. For these vulnerabilities, our approach provides a temporal advantage of 2 to 179 days to design exploits before public disclosure takes place, and fixes are rolled out. Established responsible disclosure approaches in open development processes are supposed to limit premature visibility of security vulnerabilities. However, our approach shows that, instead, they open additional possibilities to uncover such changes that thwart the very premise. We conclude by discussing implications and partial countermeasures.

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

↑