Vulnerabilityin the actionpack package.
Proof of concept public (Exploit-DB).
The to_s method in actionpack/lib/action_dispatch/middleware/remote_ip.rb in Ruby on Rails 3.0.5 does not validate the X-Forwarded-For header in requests from IP addresses on a Class C network, which might allow remote attackers to inject arbitrary text into log files or bypass intended address parsing via a crafted header.
- Upgrade actionpack (RubyGems) to 2.3.13 or later.
Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 19 Aug 2011CVE ID reserved by redhat.
- 29 Aug 2011Published in the CVE List.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- archives.neohapsis.com mailing-list, x_refsource_FULLDISC
- www.openwall.com mailing-list, x_refsource_MLIST
- www.openwall.com mailing-list, x_refsource_MLIST
- webservsec.blogspot.com x_refsource_MISC
- www.openwall.com mailing-list, x_refsource_MLIST
- www.openwall.com mailing-list, x_refsource_MLIST
- www.openwall.com mailing-list, x_refsource_MLIST
- bugzilla.novell.com x_refsource_CONFIRM
- www.openwall.com mailing-list, x_refsource_MLIST
Patchminder. CVE-2011-3187: Vulnerability in the actionpack package. https://patchminder.com/cve/cve-2011-3187/ (accessed 5 December 2026).