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

SBOM 生成器对 Python 漏洞评估的影响:一项比较与一种新方法

The Impact of SBOM Generators on Vulnerability Assessment in Python: A Comparison and a Novel Approach

Giacomo Benedetti, Serena Cofano, Alessandro Brighente, Mauro Conti

AI总结:

本文评估 SBOM 生成工具对 Python 漏洞检测的影响,分析其失效根源,并提出 PIP-sbom,以提升组件识别与依赖解析准确性。

摘要:

软件供应链(SSC)安全是用户和开发者都高度关注的关键问题。近期发生的事件,例如 SolarWinds Orion 入侵事件,证明了分发遭攻陷软件所造成的广泛影响。现代软件中有很大一部分由开源组件构成,而对这些组件的依赖进一步加剧了这一风险。为提升 SSC 安全性,软件物料清单(SBOM)被推广为一种提高软件组成透明度与可验证性的工具。然而,尽管 SBOM 前景广阔,却并非没有局限。当前的 SBOM 生成工具在识别组件和依赖项时往往存在不准确之处,从而产生错误或不完整的 SSC 表示。尽管已有研究揭示了这些局限,但它们对安全工具漏洞检测能力的影响仍不清楚。在本文中,我们首次针对接收 SBOM 作为输入的工具的漏洞检测能力开展安全分析。我们通过将 SBOM 生成工具的输出提供给漏洞识别软件,对这些生成工具进行全面评估。基于实验结果,我们找出这些工具失效的根本原因,并提出 PIP-sbom,这是一种受 pip 启发的新型解决方案,用于弥补其不足。PIP-sbom 在组件识别和依赖解析方面提供了更高的准确性。与表现最佳的现有先进工具相比,PIP-sbom 将平均精确率和召回率提高了 60%,并将误报数量减少了十倍。

英文摘要:

The Software Supply Chain (SSC) security is a critical concern for both users and developers. Recent incidents, like the SolarWinds Orion compromise, proved the widespread impact resulting from the distribution of compromised software. The reliance on open-source components, which constitute a significant portion of modern software, further exacerbates this risk. To enhance SSC security, the Software Bill of Materials (SBOM) has been promoted as a tool to increase transparency and verifiability in software composition. However, despite its promise, SBOMs are not without limitations. Current SBOM generation tools often suffer from inaccuracies in identifying components and dependencies, leading to the creation of erroneous or incomplete representations of the SSC. Despite existing studies exposing these limitations, their impact on the vulnerability detection capabilities of security tools is still unknown. In this paper, we perform the first security analysis on the vulnerability detection capabilities of tools receiving SBOMs as input. We comprehensively evaluate SBOM generation tools by providing their outputs to vulnerability identification software. Based on our results, we identify the root causes of these tools' ineffectiveness and propose PIP-sbom, a novel pip-inspired solution that addresses their shortcomings. PIP-sbom provides improved accuracy in component identification and dependency resolution. Compared to best-performing state-of-the-art tools, PIP-sbom increases the average precision and recall by 60%, and reduces by ten times the number of false positives.

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

↑