arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.17382cs.SEcs.CR
收藏

开发团队更新其易受攻击依赖项的速度有多快?

How Quickly Do Development Teams Update Their Vulnerable Dependencies?

North Carolina State University(北卡罗来纳州立大学)

Imranur Rahman, Ranindya Paramitha, Nusrat Zahan, Jason Osborne, William Enck, Laurie Williams

AI总结:

针对现有依赖更新指标(MTTU、MTTR)的不足,提出改进指标,并在npm、PyPI、Cargo三大生态系统中实证分析包更新依赖的速度及影响因素。

摘要:

行业从业者越来越关注包含直接和传递引入的易受攻击版本的第三方依赖项的软件。为了解决这个问题,鼓励项目既(a)快速更新到非易受攻击版本的依赖项,又(b)注意他们选择使用的依赖项的更新实践。为此,研究人员提出了衡量包开发团队保持依赖项更新响应能力的指标:平均更新时间(MTTU)和平均修复时间(MTTR)。虽然MTTU涵盖所有依赖项,但MTTR量化了包更新其易受攻击依赖项所需的时间。然而,现有指标未能捕捉重要的细微差别,例如考虑浮动版本和优先考虑近期更新,导致对开发团队更新实践的不准确反映。\n本研究的目的是帮助从业者理解包更新其依赖项的速度。我们提出了两个新颖的指标,即依赖项的平均更新时间(MTTU)和易受攻击依赖项的平均修复时间(MTTR),它们克服了现有指标的局限性。我们使用npm(117,129)、PyPI(42,777)和Cargo(3,301)中的163,207个包进行实证研究,并描述了生态系统在MTTU和MTTR方面的差异,以及哪些包特征影响MTTU和MTTR。我们发现大多数包具有相对较快的依赖项更新实践。我们进一步研究了当没有足够的漏洞数据时,MTTU是否可以用作MTTR的代理。由于我们没有找到足够的统计证据表明它是一个强代理,我们的发现表明,当漏洞数据不可用时,MTTU只能部分用作MTTR的代理(可以使用但需谨慎)。

英文摘要:

Industry practitioners are increasingly concerned with software that contains vulnerable versions of third-party dependencies that are included both directly and transitively. To address this problem, projects are encouraged to both (a)~quickly update to non-vulnerable versions of dependencies and (b)~be mindful of the update practices of the dependencies they choose to use. To this end, researchers have proposed metrics to measure the responsiveness of the development teams of the packages in keeping their dependencies updated: Mean-Time-To-Update (MTTU) and Mean-Time-To-Remediate (MTTR). While MTTU covers all dependencies, MTTR quantifies the time needed for a package to update its vulnerable dependencies. However, existing metrics fail to capture important nuances, such as considering floating versions and prioritizing recent updates, leading to inaccurate reflections of a development team's update practices. \textit{The goal of this study is to aid practitioners in understanding how quickly packages update their dependencies.} We propose two novel metrics, Mean-Time-To-Update for dependencies (MTTU) and Mean-Time-To-Remediate for vulnerable dependencies (MTTR), that overcome the limitations of existing metrics. We conduct an empirical study using $163,207$ packages in npm ($117,129$), PyPI ($42,777$), and Cargo ($3,301$) and characterize how the ecosystems differ in MTTU and MTTR, as well as what package characteristics influence MTTU and MTTR. We found that most packages have a relatively fast dependency update practice. We further study whether MTTU can be used as a proxy for MTTR when sufficient vulnerability data is not available. As we did not find enough statistical evidence for a strong proxy, our findings suggest that MTTU could only be partially used (may be used but with caution) as a proxy for MTTR when vulnerability data is not available.

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

↑