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.
翻译:第三方依赖性的安全脆弱性不仅对受影响软件的开发者越来越引起关注,而且对它对整个软件生态系统构成的风险也日益引起关注,例如,心脏脆弱。最近的研究显示,开发者对脆弱性威胁的反应缓慢,有时需要4至11个月才能采取行动。为了确保迅速采纳和传播含有修正(固定释放)的释放,我们进行了实证调查,以查明脆弱释放与固定释放(包装固定释放)之间可能出现的滞后情况。通过对231个包边固定释放GitHub的Npm项目进行初步研究,我们发现,固定释放很少自行释放,多达85.72%的捆绑承诺与修正无关。我们随后将包边释放与客户端的变化(客户端固定释放)进行比较。我们通过对1,290包边固定释放(包装固定释放)趋势进行实证研究,在1,553,325个Npm软件组合的网络上,我们发现,固定的客户需要额外移民努力,即使固定释放的8.72%的承诺与修正无关。然后,我们比较了包装组合的固定开放程度是快速的升级。