CVE-2026-126351 (Medium) detected in addressable-2.8.7.gem

オープン 初心者向け
#83 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
ruby
領域
build-system

調査の方向性

脆弱なgemはwebmock経由で推移的に取り込まれるため、まずgemspecとGemfile.lockを確認し、どのバージョン制約によってaddressable 2.8.7が取り込まれているかを調べます。次に、より新しいwebmock、またはaddressableの明示的な下限を2.9.1に設定することで、その制約を満たせるか確認します。古いvendor/cache/addressable-2.8.7.gemのエントリーがリポジトリに登録されている場合は削除し、bundle update addressableで依存関係を再解決して、bundle exec rspecが引き続き成功することを確認します。lockfileでaddressableが2.9.1以上に解決され、依存関係スキャンでそのパスが検出されなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Mend: dependency security vulnerability

CVE-2026-126351 - Medium Severity Vulnerability

Vulnerable Library - addressable-2.8.7.gem

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. It is flexible, offers heuristic parsing, and additionally provides extensive support for IRIs and URI templates.

Library home page: https://rubygems.org/gems/addressable-2.8.7.gem

Sample Path to Dependency File: /Gemfile.lock

Path to vulnerable library: /vendor/cache/addressable-2.8.7.gem

Dependency Hierarchy:

  • webmock-2.3.2.gem (Root Library)
    • ❌ addressable-2.8.7.gem (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. Prior to 2.9.1, Addressable::URI.normalize_path repeatedly scans and rewrites paths while removing only one nested dot segment per pass, producing quadratic work. URI#normalize, URI#normalized_path, URI#join, URI#==, and URI#=== inherit the behavior, so processing a sufficiently long attacker-controlled URI can consume a worker thread and cause denial of service on every Ruby implementation. URI.parse alone and code that never normalizes, compares, or joins untrusted URIs are unaffected. This issue is fixed in version 2.9.1.

Publish Date: 2026-11-12

URL: CVE-2026-126351

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.


Step up your Open Source Security Game with Mend here

主要言語
Ruby
スター
2
フォーク
12
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ManageIQ/foreman_api_client のほかの issue

ManageIQ/foreman_api_client の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。