An Accurate and Efficient Vulnerability Propagation Analysis Framework

Bonan Ruan, Zhiwei Lin, Jiahao Liu, Chuqi Zhang, Kaihang Ji, Zhenkai Liang · OpenReview

Abstract

Identifying the impact scope and scale is critical for software supply chain vulnerability assessment. However, existing studies face substantial limitations. First, prior studies either work at coarse package-level granularity, producing many false positives, or fail to accomplish whole-ecosystem vulnerability propagation analysis. Second, although vulnerability assessment indicators like CVSS characterize individual vulnerabilities, no metric exists to specifically quantify the dynamic impact of vulnerability propagation across software supply chains. To address these limitations and enable accurate and comprehensive vulnerability impact assessment, we propose a novel approach: (i) a hierarchical worklist-based algorithm for whole-ecosystem and call-graph-level vulnerability propagation analysis and (ii) the Vulnerability Propagation Scoring System (VPSS), a dynamic metric to quantify the scope and evolution of vulnerability impacts in software supply chains. We implement a prototype of our approach in the Java Maven ecosystem and evaluate it on 100 real-world vulnerabilities. Experimental results demonstrate that our approach enables effective ecosystem-wide vulnerability propagation analysis, and provides a practical, quantitative measure of vulnerability impact through VPSS.

Introduction

The modern software supply chain is a complex web of interdependencies. When a critical vulnerability like Log4Shell is discovered, the security community must rapidly identify the true scope of the impact. However, current assessment methods suffer from two major flaws: granularity and staticity. Most tools operate at the "package-level," marking any project using a vulnerable library as affected, which leads to massive false positives. Conversely, detailed "call-graph" analysis—which checks if the vulnerable code is actually executed—is typically too computationally expensive to scale across millions of packages.

Furthermore, standard metrics like CVSS provide a static snapshot of a bug's severity but fail to account for how risk propagates or attenuates over time as the ecosystem adopts patches. As shown in the comparison below, our framework is designed to fill these gaps by providing backward, transitive, and call-graph level analysis with complete ecosystem coverage.

Comparison of vulnerability propagation analysis methods. 'This Work' achieves a unique combination of backward direction, complete ecosystem coverage, and call-graph (CG) granularity.

Methodology

To achieve ecosystem-wide accuracy, we propose a four-stage approach that balances high-level mapping with deep-code analysis.

The end-to-end architecture of the proposed framework, from dependency graph construction to the final VPSS calculation.

1. Project-Level Dependency Graph

Instead of mapping every individual version of every project—a task involving tens of millions of nodes—we construct a "Project-level" (P-level) graph. This acts as a high-level map to quickly narrow down the potential search space within the ecosystem.

2. Vulnerable Function Identification (VFI)

Security patches often contain "noise," such as whitespace changes or logging updates, that do not affect vulnerability status. Our framework uses Large Language Models (LLMs) to filter these hunks, ensuring the analysis focuses exclusively on functions that actually cause the vulnerability.

3. Hierarchical Pruning

To make call-graph analysis feasible at scale, we employ a "funnel" approach to discard irrelevant candidates progressively:

  • Version-based Pruning: Discards versions that do not declare the vulnerable dependency.
  • Import-based Pruning: Discards projects that declare the dependency but never actually import the relevant classes.
  • CG-level Pruning: Performs the final, computationally expensive call-graph check only on the remaining high-probability candidates.

4. Vulnerability Propagation Scoring System (VPSS)

We introduce VPSS, a dynamic score (0–10) based on the Propagation Breadth Factor (PBF) and Propagation Depth Factor (PDF). Crucially, VPSS is time-aware; it can be calculated at different timestamps to visualize how risk "attenuates" as the ecosystem heals.

Experimental Evaluation

We evaluated our prototype on the Java Maven ecosystem, using a snapshot of the Maven Central Repository containing approximately 660,000 projects and 15 million versions. Our benchmark consisted of 100 real-world vulnerabilities (CVEs).

Efficiency and Scalability

The hierarchical pruning strategy proved remarkably effective, removing 97.8% of projects and 99.2% of versions before the final call-graph check. Despite the massive scale of Maven, the average analysis time per vulnerability was only 5.2 hours (with a median of 1.5 hours), making ecosystem-wide monitoring practically feasible for security organizations.

Accuracy Insights

Our results highlight the necessity of call-graph analysis: 94.9% of project versions that declare a dependency on a vulnerable package were found to be false positives because they never actually invoke the vulnerable code. In a case study of a Hadoop vulnerability (CVE-2016-5393), the tool identified a propagation chain seven hops deep, affecting critical components across the Hadoop and Hive stacks and resulting in a high VPSS score of 7.35.

Discussion and Key Insights

  • The "Fat Package" Problem: Many Java projects bundle dependencies into a single JAR. We introduced the concept of "intrinsic scope" to isolate a project's original code from its bundled dependencies during analysis.
  • Temporal Risk: Unlike static CVSS scores, VPSS captures the lifecycle of a vulnerability. We observed that some CVEs actually see a temporary increase in impact score after disclosure due to delayed dependency updates across the ecosystem.

Conclusion and Future Work

This framework provides a scalable, accurate solution for quantifying the real-world risk vulnerabilities pose to software supply chains. While currently optimized for Maven, future work will expand the framework to other ecosystems like Python (PyPI) and JavaScript (npm), and explore machine learning techniques to further refine the VPSS weighting parameters.

Summary updated

BibTeX
@misc{ruan2025accurate,
  author = {Bonan Ruan and Zhiwei Lin and Jiahao Liu and Chuqi Zhang and Kaihang Ji and Zhenkai Liang},
  title = {{An Accurate and Efficient Vulnerability Propagation Analysis Framework}},
  year = {2025},
  eprint = {2506.01342},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.01342},
}
Figure