← 脆弱性・アップデート

重要脆弱性アドバイザリRubyRuby on Rails

Action Pack: Possible IP spoofing in Action Dispatch RemoteIp

影響

パッケージ影響する版修正版
rubygems:actionpack>= 8.1.0.beta1, < 8.1.4.18.1.4.1

Since Rails 8.1.0, ActionDispatch::RemoteIp derives request.remote_ip from Rack::Request#forwarded_for, which under Rack 3 reads the RFC 7239 Forwarded header in preference to X-Forwarded-For. When a reverse proxy appends the client address to X-Forwarded-For but passes a client-supplied Forwarded header through unchanged, request.remote_ip returns an address chosen by the client, and the IP spoofing check does not raise, because it compares only Client-Ip with the forwarded addresses. An unaut…

GitHub Advisory Databaseで読む

2026/11/11 06:20、GitHub Advisory Databaseが「Action Pack: Possible IP spoofing in Action Dispatch RemoteIp」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: Ruby、Ruby on Rails。CVE: CVE-2026-126083。