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

针对披露的Java库漏洞利用的可扩展性大规模实证研究

Assessing the Cross-Version Applicability of Java Library Vulnerability Exploits

The State Key Laboratory of Blockchain and Data Security, Zhejiang University(浙江大学区块链与数据安全国家重点实验室);Queen’s University(女王大学)

Zirui Chen, Qi Zhan, Jiayuan Zhou, Xing Hu, Xin Xia, Xiaohu Yang

AI总结:

本文通过大规模实证研究探讨披露的Java库漏洞利用在不同版本间的泛化能力,构建包含259个漏洞利用的数据库,验证漏洞利用在不同版本间的适用性,并提出10种迁移策略以提升召回率。

摘要:

开源软件供应链安全严重依赖于评估受影响版本的库漏洞。尽管先前研究利用漏洞利用来验证受影响版本,但指出漏洞利用是版本特定的,无法直接跨库版本应用。尽管被广泛认可,这一限制尚未在大规模上系统验证,导致漏洞利用在不同版本间的实际适用性未被探索。为填补这一空白,我们进行了首次大规模实证研究,探讨漏洞利用在库版本间的适用性。我们构建了一个包含259个漏洞利用、覆盖128个Java库和28,150个历史版本的全面数据集,涵盖61个CWE,占Maven中漏洞的76.33%。利用此数据集,我们执行每个漏洞利用针对库版本历史,并将执行结果与手动标注的受影响版本进行比较。我们进一步研究漏洞执行与地面真实值之间不一致的根本原因,并探索漏洞迁移策略。我们的结果(RQ1)显示,即使不迁移,漏洞利用在识别Java受影响版本时也实现了83.0%的召回率和99.3%的精确率,优于大多数广泛使用的漏洞数据库和评估工具。值得注意的是,这种能力使我们能够向CPE字典贡献796个确认的缺失受影响版本。我们调查了剩余的漏洞失败(RQ2)并发现它们主要源于库演变和环境约束变化引入的兼容性问题。基于这些观察,我们手动迁移了1,885个版本的漏洞,并从这些成功适应案例中提炼出10种策略(RQ3),从而将整体召回率提升至96.1%。

英文摘要:

Open-source software supply chain security relies heavily on assessing affected versions of library vulnerabilities. While prior studies have leveraged exploits for verifying vulnerability affected versions, they point out a key limitation that exploits are version-specific and cannot be directly applied across library versions. Despite being widely acknowledged, this limitation has not been systematically validated at scale, leaving the actual applicability of exploits across versions unexplored. To fill this gap, we conduct the first large-scale empirical study on exploit applicability across library versions. We construct a comprehensive dataset consisting of 259 exploits spanning 128 Java libraries and 28,150 historical versions, covering 61 CWEs that account for 76.33% of vulnerabilities in Maven. Leveraging this dataset, we execute each exploit against the library version history and compare the execution outcomes with our manually annotated ground-truth affected versions. We further investigate the root causes of inconsistencies between exploit execution and ground truth, and explore strategies for exploit migration. Our results (RQ1) show that, even without migration, exploits achieve 83.0% recall and 99.3% precision in identifying affected versions in Java, outperforming most widely used vulnerability databases and assessment tools. Notably, this capability enables us to contribute 796 confirmed missing affected versions to the CPE dictionary. We investigate the remaining exploit failures (RQ2) and find that they mainly stem from compatibility issues introduced by library evolution and changing environmental constraints. Based on these observations, we manually migrate exploits for 1,885 versions and distill a taxonomy of 10 strategies from these successful adaptation cases (RQ3), thereby increasing the overall recall to 96.1%.

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

↑