CVE-2011-3187
publishedrubygem-actionpack: does not validate X-Forwarded-For header in requests from class C networks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
9- 20110216 Ruby on Rails Vulnerability http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html
- http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html
- [oss-security] 20110817 CVE request: ruby on rails flaws (4) http://www.openwall.com/lists/oss-security/2011/08/17/1
- [oss-security] 20110819 Re: CVE request: ruby on rails flaws (4) http://www.openwall.com/lists/oss-security/2011/08/19/11
- [oss-security] 20110820 Re: CVE request: ruby on rails flaws (4) http://www.openwall.com/lists/oss-security/2011/08/20/1
- [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4) http://www.openwall.com/lists/oss-security/2011/08/22/13
- [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4) http://www.openwall.com/lists/oss-security/2011/08/22/14
- [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4) http://www.openwall.com/lists/oss-security/2011/08/22/5
- https://bugzilla.novell.com/show_bug.cgi?id=673010
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b1923692795bd1f99cc8536ed48ce3a57c2e2e09fa72fd7130606cfb08806346
- Ingested
- 23 Sep 2026, 07:39:04 UTC
- Source record
- Official CVE record