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

软件组成分析工具的漏洞报告比较研究

A Comparative Study of Vulnerability Reporting by Software Composition Analysis Tools

Nasif Imtiaz, Seaver Thorne, Laurie Williams

摘要:

背景:现代软件使用许多第三方库和框架作为依赖项。这些依赖关系中的已知漏洞是潜在的安全风险。因此,软件组合分析(SCA)工具越来越多地被从业者采用,以跟踪脆弱的依赖关系。目的:本研究的目标是了解不同SCA工具在漏洞报告方面的差异。了解现有SCA工具在分析方面是否存在差异以及差异如何,可以帮助安全从业人员选择正确的工具并确定未来的研究需求。方法:我们通过比较9个行业领先的SCA工具对一个大型Web应用程序OpenMRS的分析报告,提出了一个深入的案例研究,OpenMRS由Maven(Java)和npm(JavaScript)项目组成。结果:我们发现这些工具在漏洞报告方面各不相同。在所研究的工具中,Maven报告的脆弱依赖项的数量从17到332不等,npm项目从32到239不等。同样,Maven工具报告的已知漏洞数量从36到313不等,npm项目从45到234不等。我们对工具结果的手动分析表明,漏洞数据库的准确性是SCA工具的关键区别。结论:我们建议从业者目前不应依赖任何单一工具,因为这可能导致遗漏已知漏洞。我们指出了SCA领域的两个研究方向:i)建立框架和指标来识别依赖漏洞的误报; ii)构建自动化技术来持续监控来自开源包生态系统的漏洞数据。

英文摘要:

Background: Modern software uses many third-party libraries and frameworks as dependencies. Known vulnerabilities in these dependencies are a potential security risk. Software composition analysis (SCA) tools, therefore, are being increasingly adopted by practitioners to keep track of vulnerable dependencies. Aim: The goal of this study is to understand the difference in vulnerability reporting by various SCA tools. Understanding if and how existing SCA tools differ in their analysis may help security practitioners to choose the right tooling and identify future research needs. Method: We present an in-depth case study by comparing the analysis reports of 9 industry-leading SCA tools on a large web application, OpenMRS, composed of Maven (Java) and npm (JavaScript) projects. Results: We find that the tools vary in their vulnerability reporting. The count of reported vulnerable dependencies ranges from 17 to 332 for Maven and from 32 to 239 for npm projects across the studied tools. Similarly, the count of unique known vulnerabilities reported by the tools ranges from 36 to 313 for Maven and from 45 to 234 for npm projects. Our manual analysis of the tools' results suggest that accuracy of the vulnerability database is a key differentiator for SCA tools. Conclusion: We recommend that practitioners should not rely on any single tool at the present, as that can result in missing known vulnerabilities. We point out two research directions in the SCA space: i) establishing frameworks and metrics to identify false positives for dependency vulnerabilities; and ii) building automation technologies for continuous monitoring of vulnerability data from open source package ecosystems.

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

↑