Plumber: Boosting the Propagation of Vulnerability Fixes in the npm Ecosystem
IEEE Transactions on Software Engineering · 01.05.2023 · 49 (5) · 3155-3181
DOI: 10.1109/tse.2023.3243262 ↗Kurz gefasst
Fachartikel in der Zeitschrift IEEE Transactions on Software Engineering, erschienen am 01.05.2023. Verfasst von Ying Wang und 7 weiteren Autor:innen. Die Arbeit wurde bisher 24-mal zitiert (Crossref) und nennt 91 Literaturangaben. Gefördert von: National Grand R&D Plan, National Natural Science Foundation of China, Major Key Project of PCL.
Abstract (Originalsprache)
Vulnerabilities are known reported security threats that affect a large amount of packages in the npm ecosystem. To mitigate these security threats, the open-source community strongly suggests vulnerable packages to timely publish vulnerability fixes and recommends affected packages to update their dependencies. However, there are still serious lags in the propagation of vulnerability fixes in the ecosystem. In our preliminary study on the latest versions of 356,283 active npm packages, we found that 20.0% of them can still introduce vulnerabilities via direct or transitive dependencies although the involved vulnerable packages have already published fix versions for over a year. Prior study by (Chinthanet et al. 2021) lays the groundwork for research on how to mitigate propagation lags of vulnerability fixes in an ecosystem. They conducted an empirical investigation to identify lags that might occur between the vulnerable package release and its fixing release. They found that factors such as the branch upon which a fix landed and the severity of the vulnerability had a small effect on its propagation trajectory throughout the ecosystem. To ensure quick adoption and propagation of a release that contains the fix, they gave several actionable advice to developers and researchers. However, it is still an open question how to design an effective technique to accelerate the propagation of vulnerability fixes. Motivated by this problem, in this paper, we conducted an empirical study to learn the scale of packages that block the propagation of vulnerability fixes in the ecosystem and investigate their evolution characteristics. Furthermore, we distilled the remediation strategies that have better effects on mitigating the fix propagation lags. Leveraging our empirical findings, we propose an ecosystem-level technique, Plumber, for deriving feasible remediation strategies to boost the propagation of vulnerability fixes. To precisely diagnose the causes of fix propagation blocking, Plumber models the vulnerability metadata, and npm dependency metadata and continuously monitors their evolution. By analyzing a full-picture of the ecosystem-level dependency graph and the corresponding fix propagation statuses, it derives remediation schemes for pivotal packages. In the schemes, Plumber provides customized remediation suggestions with vulnerability impact analysis to arouse package developers’ awareness. We applied Plumber to generating 268 remediation reports for the identified pivotal packages, to evaluate its remediation effectiveness based on developers’ feedback. Encouragingly, 47.4% our remediation reports received positive feedback from many well-known npm projects, such as Tensorflow/tfjs, Ethers.js, and GoogleChrome/workbox. Our reports have boosted the propagation of vulnerability fixes into 16,403 root packages through 92,469 dependency paths. On average, each remediated package version is receiving 72,678 downloads per week by the time of this work.
Förderung
- National Grand R&D Plan
- National Natural Science Foundation of China
- Major Key Project of PCL
- Hong Kong RGC/GRF
- MSRA
- ITF
- Research Grants Council Research Impact Fund
- Natural Science Foundation of Jiangsu Province
Zitieren
APA
Wang, Y., Sun, P., Pei, L., Yu, Y., Xu, C., Cheung, S., Yu, H., & Zhu, Z. (2023). Plumber: Boosting the Propagation of Vulnerability Fixes in the npm Ecosystem. IEEE Transactions on Software Engineering, 49(5), 3155-3181. https://doi.org/10.1109/tse.2023.3243262
Vancouver
Wang Y, Sun P, Pei L, Yu Y, Xu C, Cheung S, et al. Plumber: Boosting the Propagation of Vulnerability Fixes in the npm Ecosystem. IEEE Transactions on Software Engineering. 2023;49(5):3155-3181. doi:10.1109/tse.2023.3243262
BibTeX
@article{Wang2023,
author = {Wang, Ying and Sun, Peng and Pei, Lin and Yu, Yue and Xu, Chang and Cheung, Shing-Chi and Yu, Hai and Zhu, Zhiliang},
title = {Plumber: Boosting the Propagation of Vulnerability Fixes in the npm Ecosystem},
journal = {IEEE Transactions on Software Engineering},
year = {2023},
volume = {49},
number = {5},
pages = {3155--3181},
doi = {10.1109/tse.2023.3243262}
}
EUVIMED