{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2011-3187","published":"2011-08-29T18:55:01.707000Z","last_modified":"2026-06-16T23:32:49.797000Z","status":"Modified","cvss":{"version":"2.0","score":4.3,"severity":"MEDIUM","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:rubyonrails:rails:3.0.5:*:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"rails","version":"3.0.5"}],"cpes_truncated":false,"vendors":["rubyonrails"],"products":["rubyonrails/rails"],"epss":{"score":0.06666,"percentile":0.94672,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-3vfw-7rcp-3xgm","ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[{"introduced":"2.3.0","fixed":"2.3.13"}],"versions":["2.3.10","2.3.11","2.3.12","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.8.pre1","2.3.9","2.3.9.pre"],"versions_truncated":false}],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2011-3187/","html_en":"/en/cve/CVE-2011-3187/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2011-3187","cve_org":"https://www.cve.org/CVERecord?id=CVE-2011-3187"},"untrusted":{"vendor_name":"Rubyonrails","product_name":"Rails","desc_en":"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.","affected":[],"references":[{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html","tags":[]},{"url":"http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html","tags":["Exploit"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/17/1","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/19/11","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/20/1","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/13","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/14","tags":["Exploit"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/5","tags":["Patch"]},{"url":"https://bugzilla.novell.com/show_bug.cgi?id=673010","tags":["Exploit"]}]}}