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

Aperta Adatta ai principianti
#82 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
62/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
ruby
Ambito
security

Direzione di ricerca

Parti da Gemfile.lock, dove addressable-2.8.7 viene incluso transitivamente tramite webmock-2.3.2; controlla se Gemfile blocca direttamente webmock o addressable. Esegui bundle update addressable (oppure aggiorna webmock se vincola la versione) in modo che la versione risolta sia la 2.9.1 o una successiva, quindi confermalo con bundle exec ruby -e 'require "addressable"; puts Addressable::VERSION' ed esegui l'intera suite di test. Il lavoro è completato quando Gemfile.lock non elenca più la 2.8.7 e le spec continuano a passare.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Mend: dependency security vulnerability

CVE-2026-126354 - 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. From 2.2.5 until 2.9.1, Addressable::URI.normalize_path can resolve a path containing leading parent segments and later parent segments to a different path than an RFC 3986 resolver. URI#normalize, URI#join, URI#==, and URI#=== inherit the result. An application that authorizes the Addressable-normalized path but sends the original URI to another resolver can allow access outside the intended path allowlist. Applications that use the same normalized value for authorization and the request, or reject parent segments, are unaffected. This issue is fixed in version 2.9.1.

Publish Date: 2026-11-12

URL: CVE-2026-126354

CVSS 3 Score Details (4.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-8gmh-2hhj-2hv9

Release Date: 2026-11-12

Fix Resolution: addressable - 2.9.1


Step up your Open Source Security Game with Mend here

Lingua principale
Ruby
Stelle
2
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ManageIQ/foreman_api_client

Tutte le issue di ManageIQ/foreman_api_client

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.