actionpack is vulnerable to IP Spoofing
74
CVE Score
High
IP Spoofing
ActionDispatch::RemoteIp in actionpack takes request.remote_ip from Rack's forwarded_for, which prefers a client-supplied Forwarded header over X-Forwarded-For. When a proxy appends the real client address to X-Forwarded-For but leaves Forwarded unchanged, the request reports an address chosen by the client and the spoofing check does not raise. IP allow lists, rate limits, and logs that trust request.remote_ip then use that address. The fix raises when both headers are present and their first untrusted client addresses differ.
Upgrade the actionpack library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and a proxy forwards a client-supplied Forwarded header while the application trusts request.remote_ip.
8.1.0 - 8.1.4
Fixed in 8.1.4.1actionpack is vulnerable to IP Spoofing in versions 8.1.0 - 8.1.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.