On the Impact of Security Vulnerabilities in the npm and RubyGems Dependency Networks
Ahmed Zerouali, Tom Mens, Alexandre Decan, Coen De Roover

TL;DR
This study empirically analyzes vulnerabilities in npm and RubyGems packages, revealing increasing vulnerabilities, delayed disclosures, and significant exposure of dependent projects, highlighting the need for improved security measures in open source ecosystems.
Contribution
It provides a comprehensive empirical analysis of vulnerability disclosure and exposure in npm and RubyGems, comparing their trends and impact on dependents over time.
Findings
Vulnerabilities in npm are increasing and disclosed faster than in RubyGems.
Time to disclose vulnerabilities is increasing over time for both ecosystems.
A significant proportion of dependents are exposed to vulnerabilities from dependencies.
Abstract
The increasing interest in open source software has led to the emergence of large language-specific package distributions of reusable software libraries, such as npm and RubyGems. These software packages can be subject to vulnerabilities that may expose dependent packages through explicitly declared dependencies. Using Snyk's vulnerability database, this article empirically studies vulnerabilities affecting npm and RubyGems packages. We analyse how and when these vulnerabilities are disclosed and fixed, and how their prevalence changes over time. We also analyse how vulnerable packages expose their direct and indirect dependents to vulnerabilities. We distinguish between two types of dependents: packages distributed via the package manager, and external GitHub projects depending on npm packages. We observe that the number of vulnerabilities in npm is increasing and being disclosed…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Software Engineering Research · Software Reliability and Analysis Research
