On the Effect of Transitivity and Granularity on Vulnerability Propagation in the Maven Ecosystem
Amir M. Mir, Mehdi Keshani, Sebastian Proksch

TL;DR
This paper investigates how transitivity and granularity affect vulnerability propagation in the Maven ecosystem, revealing that considering transitive dependencies significantly impacts vulnerability detection and that limiting dependency depth can optimize analysis.
Contribution
It introduces a comprehensive approach combining dependency analysis and call graph reachability to accurately identify affected Maven packages, improving over naive dependency-based methods.
Findings
Approximately one-third of packages are vulnerable only when transitive dependencies are considered.
Less than 1% of packages have reachable vulnerable code, much lower than naive estimates.
Limiting dependency depth can reduce computational costs in vulnerability analysis.
Abstract
Reusing software libraries is a pillar of modern software engineering. In 2022, the average Java application depends on 40 third-party libraries. Relying on such libraries exposes a project to potential vulnerabilities and may put an application and its users at risk. Unfortunately, research on software ecosystems has shown that the number of projects that are affected by such vulnerabilities is rising. Previous investigations usually reason about dependencies on the dependency level, but we believe that this highly inflates the actual number of affected projects. In this work, we study the effect of transitivity and granularity on vulnerability propagation in the Maven ecosystem. In our research methodology, we gather a large dataset of 3M recent Maven packages. We obtain the full transitive set of dependencies for this dataset, construct whole-program call graphs, and perform…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software System Performance and Reliability · Software Reliability and Analysis Research
