{"id":"CVE-2008-5189","published":"2008-11-21T11:00:00Z","modified":"2024-08-07T10:40:17Z","title":"CRLF injection vulnerability in Ruby on Rails before 2.0.5 allows remote attackers to inject arbitrary HTTP headers…","vendor":null,"product":null,"tier":"tail","description":{"text":"CRLF injection vulnerability in Ruby on Rails before 2.0.5 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via a crafted URL to the redirect_to function.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01533,"percentile":0.7543,"provenance":"source"},"cwes":[],"references":[{"url":"http://github.com/rails/rails/commit/7282ed863ca7e6f928bae9162c9a63a98775a19d","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/32359","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://weblog.rubyonrails.org/2008/10/19/rails-2-0-5-redirect_to-and-offset-limit-sanitizing","tags":["x_refsource_CONFIRM"]},{"url":"http://weblog.rubyonrails.org/2008/10/19/response-splitting-risk","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":15.09}]},"affected":[{"ecosystem":"RubyGems","package":"rails","vulnerableRanges":["<2.0.5"],"patched":["2.0.5"],"from":["GHSA-jmgf-p46x-982h"],"provenance":"source"}],"summary":{"text":"The flaw is a CRLF injection vulnerability in the redirect_to function of Ruby on Rails, affecting versions before 2.0.5. Remote attackers can exploit it by supplying a crafted URL, allowing them to inject arbitrary HTTP headers and carry out HTTP response splitting attacks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:38Z"},"euvd":{"id":"EUVD-2017-0263","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-rails-cve-2008-5189","children":[{"from":"CVE-2008-5189","to":"CVE-2011-3186","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["actionpack/lib/action_controller/response.rb"],"commits":["https://github.com/rails/rails/commit/7282ed863ca7e6f928bae9162c9a63a98775a19d","https://github.com/rails/rails/commit/11dafeaa7533be26441a63618be93a03869c83a9"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2007-5380","published":"2007-10-19","fixed":"1.2.4","kev":false},{"cve":"CVE-2007-3227","published":"2007-06-14","fixed":"1.2.5","kev":false},{"cve":"CVE-2007-6077","published":"2007-11-21","fixed":"1.2.6","kev":false},{"cve":"CVE-2008-5189","published":"2008-11-21","fixed":"2.0.5","kev":false},{"cve":"CVE-2009-2422","published":"2009-07-10","fixed":"2.3.3","kev":false},{"cve":"CVE-2009-4214","published":"2009-12-07","fixed":"2.3.5","kev":false,"link":{"from":"CVE-2008-5189","to":"CVE-2009-4214","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:rails","fromFixed":"2.0.5","toFixed":"2.2.2","daysApart":381}]}},{"cve":"CVE-2014-0081","published":"2014-02-20","fixed":"4.0.3","kev":false}],"package":"RubyGems:rails"}}