Skip to main content
QUICK REVIEW

[論文レビュー] How Quickly Do Development Teams Update Their Vulnerable Dependencies?

I. K. M. Reaz Rahman, Paramitha, Ranindya|arXiv (Cornell University)|Mar 26, 2024
Nuclear and radioactivity studiesEngineering被引用数 6
ひとこと要約

論文は、Time-Out-Of-Date (TOOD) と Post-Fix-Exposure-Time (PFET) の二つの指標を導入し、依存関係がどれだけ最新か、脆弱な依存関係がどれだけ速く更新されるかを定量化し、NPM, PyPI, Cargo に跨る大規模調査を実施して依存更新の実践を分析する。

ABSTRACT

Industry practitioners are increasingly concerned with software that contains vulnerable versions of third-party dependencies that are included both directly and transitively. To address this problem, projects are encouraged to both (a)~quickly update to non-vulnerable versions of dependencies and (b)~be mindful of the update practices of the dependencies they choose to use. To this end, researchers have proposed metrics to measure the responsiveness of the development teams of the packages in keeping their dependencies updated: Mean-Time-To-Update (MTTU) and Mean-Time-To-Remediate (MTTR). While MTTU covers all dependencies, MTTR quantifies the time needed for a package to update its vulnerable dependencies. However, existing metrics fail to capture important nuances, such as considering floating versions and prioritizing recent updates, leading to inaccurate reflections of a development team's update practices. extit{The goal of this study is to aid practitioners in understanding how quickly packages update their dependencies.} We propose two novel metrics, Mean-Time-To-Update for dependencies (MTTU) and Mean-Time-To-Remediate for vulnerable dependencies (MTTR), that overcome the limitations of existing metrics. We conduct an empirical study using $163,207$ packages in npm ($117,129$), PyPI ($42,777$), and Cargo ($3,301$) and characterize how the ecosystems differ in MTTU and MTTR, as well as what package characteristics influence MTTU and MTTR. We found that most packages have a relatively fast dependency update practice. We further study whether MTTU can be used as a proxy for MTTR when sufficient vulnerability data is not available. As we did not find enough statistical evidence for a strong proxy, our findings suggest that MTTU could only be partially used (may be used but with caution) as a proxy for MTTR when vulnerability data is not available.

研究の動機と目的

  • ソフトウェア供給網攻撃を防ぐために、依存関係がどれだけ最新であるかを定量化する必要性を喚起する。
  • 依存関係の更新と脆弱性露出の時間的側面を捉える TOOD と PFET の二つの新しい指標を定義する。
  • 測定のために依存関係関係を安定化させる時系列依存関係解決アルゴリズムを開発する。
  • NPM、PyPI、Cargo に跨る大規模な実証分析を実施し、更新挙動を特徴づける。
  • 将来の研究を支援するために、パッケージ-依存関係関係のデータセットをオープンソース化する。

提案手法

  • 時系列依存関係解決(Algorithm 1)を導入し、時間区間にわたって依存関係を安定化させる。
  • Time-Out-Of-Date (TOOD) を、パッケージが過去の依存バージョンを使用している平均的な蓄積時間として定義する。
  • Post-Fix-Exposure-Time (PFET) を、パッケージが脆弱な過去の依存バージョンを使用している平均的な蓄積時間として定義する。
  • 各 <package, dependency> のペアについて時系列区間で TOOD および PFET を計算し、パッケージごとに集計する。
  • 依存関係と助言情報には Google BigQuery (deps_dev_v1) および OSV.dev のデータを使用する。
  • TOOD と PFET の分布を比較するために、統計的仮説検定と相関分析を適用する。

実験結果

リサーチクエスチョン

  • RQ1RQ1: NPM、PyPI、Cargo において、パッケージはどのように依存関係を更新するのか(Time out of date)?
  • RQ2RQ2: NPM、PyPI、Cargo において、パッケージはどのように脆弱な依存関係を更新するのか(post fix exposure time)?
  • RQ3RQ3: time out of date は post fix exposure time を効果的に表現・代替できるか?

主な発見

  • PyPI のパッケージは NPM および Cargo よりも依存関係を早く更新する。
  • Cargo のパッケージは脆弱な依存関係を NPM および PyPI よりも早く更新する。
  • TOOD は分布と相関分析に基づいて PFET の代理指標として機能できる。
  • 著者らは三つのエコシステムにまたがる26.8百万のパッケージ–依存関係関係の大規模データセットを提供する。
  • 方法論はオープンな依存関係要件とダウングレードを Temporal Dependency Resolution アプローチで考慮している。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。