Lags in the Release, Adoption, and Propagation of npm Vulnerability Fixes
arXiv:1907.03407 · doi:10.1007/s10664-021-09951-x
Abstract
Security vulnerability in third-party dependencies is a growing concern not only for developers of the affected software, but for the risks it poses to an entire software ecosystem, e.g., Heartbleed vulnerability. Recent studies show that developers are slow to respond to the threat of vulnerability, sometimes taking four to eleven months to act. To ensure quick adoption and propagation of a release that contains the fix (fixing release), we conduct an empirical investigation to identify lags that may occur between the vulnerable release and its fixing release (package-side fixing release). Through a preliminary study of 231 package-side fixing release of npm projects on GitHub, we observe that a fixing release is rarely released on its own, with up to 85.72% of the bundled commits being unrelated to a fix. We then compare the package-side fixing release with changes on a client-side (client-side fixing release). Through an empirical study of the adoption and propagation tendencies of 1,290 package-side fixing releases that impact throughout a network of 1,553,325 releases of npm packages, we find that stale clients require additional migration effort, even if the package-side fixing release was quick (i.e., package patch landing). Furthermore, we show the influence of factors such as the branch that the package-side fixing release lands on and the severity of vulnerability on its propagation. In addition to these lags we identify and characterize, this paper lays the groundwork for future research on how to mitigate lags in an ecosystem.
arXiv commentPublished to Empirical Software Engineering Journal
References in corpus (3)
- Do Developers Update Their Library Dependencies? An Empirical Study on the Impact of Security Advisories on Library Migration
- Thou Shalt Not Depend on Me: Analysing the Use of Outdated JavaScript Libraries on the Web
- Beyond Metadata: Code-centric and Usage-based Analysis of Known Vulnerabilities in Open-source Software
Cited by in corpus (7)
- Towards Understanding Third-party Library Dependency in C/C++ Ecosystem
- Empirical Analysis of Vulnerabilities Life Cycle in Golang Ecosystem
- BreakBot: Analyzing the Impact of Breaking Changes to Assist Library Evolution
- BUMP: A Benchmark of Reproducible Breaking Dependency Updates
- Pinning Is Futile: You Need More Than Local Dependency Versioning to Defend against Supply Chain Attacks
- Opportunities and Security Risks of Technical Leverage: A Replication Study on the NPM Ecosystem
- The Stackage Repository: An Exploratory Study of its Evolution