CVE-2011-3187
MEDIUM · CVSS 4.3EPSS 6.7%EU EUVD
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.
Key facts
- CVSS score
- 4.3 (v2.0)
- Severity
- MEDIUM
- CVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N- Weakness (CWE)
- CWE-20
- EPSS score
- 6.7% (94th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2017-0159)
- Published
- August 29, 2011
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2017-0159 in the EU Vulnerability Database. Last updated in EUVD on August 6, 2024.
View on the EU Vulnerability DatabaseAffected products
- rubyonrails / rails
References
- http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html
- http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html(Exploit)
- http://www.openwall.com/lists/oss-security/2011/08/17/1(Patch)
- http://www.openwall.com/lists/oss-security/2011/08/19/11(Patch)
- http://www.openwall.com/lists/oss-security/2011/08/20/1(Patch)
- http://www.openwall.com/lists/oss-security/2011/08/22/13(Patch)
- http://www.openwall.com/lists/oss-security/2011/08/22/14(Exploit)
- http://www.openwall.com/lists/oss-security/2011/08/22/5(Patch)
- https://bugzilla.novell.com/show_bug.cgi?id=673010(Exploit)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain