论文标题

学习捕获安全补丁

Learning to Catch Security Patches

论文作者

Sawadogo, Arthur D., Bissyandé, Tegawendé F., Moha, Naouel, Allix, Kevin, Klein, Jacques, Li, Li, Traon, Yves Le

论文摘要

及时修补对于保护用户和维护者的恶意攻击后果至关重要。实际上,按照代码存储库中提交的代码更改的性质进行了优先处理。当这样的更改标记为与安全性相关时,即修复漏洞时,维护者迅速传播了变更,并通知用户需要更新到库的新版本或应用程序的新版本。不幸的是,通常情况下,与安全性相关的变化代表了无声的脆弱性解决方案。在本文中,我们提出了一种基于共同训练的方法,以获取安全补丁,作为代码存储库自动监视服务的一部分。利用不同类别的功能,我们从经验上表明,这种自动化是可行的,并且可以在识别安全贴片中产生超过90%的精度,而前所未有的召回率超过80%。除了具有地面真相数据的基准测试外,我们还证明了对最先进的方法的改进,我们证实我们的方法可以帮助捕获未报告的安全补丁。

Timely patching is paramount to safeguard users and maintainers against dire consequences of malicious attacks. In practice, patching is prioritized following the nature of the code change that is committed in the code repository. When such a change is labeled as being security-relevant, i.e., as fixing a vulnerability, maintainers rapidly spread the change and users are notified about the need to update to a new version of the library or of the application. Unfortunately, oftentimes, some security-relevant changes go unnoticed as they represent silent fixes of vulnerabilities. In this paper, we propose a Co-Training-based approach to catch security patches as part of an automatic monitoring service of code repositories. Leveraging different classes of features, we empirically show that such automation is feasible and can yield a precision of over 90% in identifying security patches, with an unprecedented recall of over 80%. Beyond such a benchmarking with ground truth data which demonstrates an improvement over the state-of-the-art, we confirmed that our approach can help catch security patches that were not reported as such.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源