← 漏洞与更新

高危漏洞公告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。