arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.07847cs.SE
收藏

依赖管理实践用于漏洞缓解

Dependency Practices for Vulnerability Mitigation

Abbas Javan Jafari, Diego Elias Costa, Ahmad Abdellatif, Emad Shihab

AI总结:

本研究分析npm生态系统中450多个漏洞和20多万个受感染包,利用9个特征构建预测模型,识别快速修复漏洞的依赖包,帮助开发者缓解供应链漏洞风险。

摘要:

依赖包的使用加速了软件开发,但也增加了暴露于依赖中可能存在的安全漏洞的风险。虽然开发者完全控制他们使用的依赖包(以及版本),但他们无法控制其依赖项的依赖项。这些传递依赖,其数量往往超过直接依赖,可能被漏洞感染并使软件项目面临风险。为缓解此风险,从业者需要选择能快速响应漏洞的依赖项,以防止易受攻击的代码传播到他们的项目中。为识别此类依赖项,我们分析了npm生态系统中超过450个漏洞,以理解为何依赖包仍然易受攻击。我们识别出超过200,000个通过其依赖项被感染的npm包,并使用9个特征构建了一个预测模型,该模型能识别快速采纳漏洞修复并阻止漏洞进一步传播的包。我们还研究了这些特征与易受攻击包响应速度之间的关系。我们通过从业者调查补充了我们的工作,以了解我们发现的适用性。开发者可以将我们的发现纳入其依赖管理实践中,以缓解其依赖供应链中漏洞的影响。

英文摘要:

Relying on dependency packages accelerates software development, but it also increases the exposure to security vulnerabilities that may be present in dependencies. While developers have full control over which dependency packages (and which version) they use, they have no control over the dependencies of their dependencies. Such transitive dependencies, which often amount to a greater number than direct dependencies, can become infected with vulnerabilities and put software projects at risk. To mitigate this risk, Practitioners need to select dependencies that respond quickly to vulnerabilities to prevent the propagation of vulnerable code to their project. To identify such dependencies, we analyze more than 450 vulnerabilities in the npm ecosystem to understand why dependent packages remain vulnerable. We identify over 200,000 npm packages that are infected through their dependencies and use 9 features to build a prediction model that identifies packages that quickly adopt the vulnerability fix and prevent further propagation of vulnerabilities. We also study the relationship between these features and the response speed of vulnerable packages. We complement our work with a practitioner survey to understand the applicability of our findings. Developers can incorporate our findings into their dependency management practices to mitigate the impact of vulnerabilities from their dependency supply chain.

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

↑