{"id":"CVE-2008-5189","aliases":["DEBIAN-CVE-2008-5189","EUVD-2017-0263","GHSA-jmgf-p46x-982h"],"status":"published","title":"rails is vulnerable to CRLF injection","description":"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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01533,"percentile":0.74979,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-352"],"published":"2008-11-21T11:00:00Z","modified":"2026-10-23T17:47:25Z","fixes":[{"ecosystem":"RubyGems","package":"rails","fixed_in":["2.0.5"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"rails","fixed_in":["2.1.0-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rails","fixed_in":["2.1.0-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rails","fixed_in":["2.1.0-6"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-6"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5"}]}],"versions":["0.10.0","0.10.1","0.11.0","0.11.1","0.12.0","0.12.1","0.13.0","0.13.1","0.14.1","0.14.2","0.14.3","0.14.4","0.8.0","0.8.5","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4","0.9.4.1","0.9.5","1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","2.0.0","2.0.1","2.0.2","2.0.4"]}],"products":[{"vendor":"rubyonrails","product":"rails"},{"vendor":"rubyonrails","product":"ruby_on_rails"}],"references":[{"url":"http://github.com/rails/rails/commit/7282ed863ca7e6f928bae9162c9a63a98775a19d","tags":["x_refsource_CONFIRM","x_transferred","fix","web"]},{"url":"http://www.securityfocus.com/bid/32359","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","fix"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://weblog.rubyonrails.org/2008/10/19/rails-2-0-5-redirect_to-and-offset-limit-sanitizing","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://weblog.rubyonrails.org/2008/10/19/response-splitting-risk","tags":["x_refsource_CONFIRM","x_transferred","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5189","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2008-5189.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-jmgf-p46x-982h"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-5189","tags":["advisory"]},{"url":"http://github.com/rails/rails","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2008-5189","description":"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.","status":"published","published":"2008-11-21T11:00:00Z","modified":"2024-08-07T10:40:17.237Z","updated_at":"2026-11-02T14:34:44.297409Z"}],"euvd":[{"id":"EUVD-2017-0263","description":"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.","status":"published","published":"2008-11-21T11:00:00Z","modified":"2024-08-07T10:40:17Z","updated_at":"2026-11-03T01:38:44.406504Z"}],"ghsa":[{"id":"GHSA-jmgf-p46x-982h","title":"rails is vulnerable to CRLF injection","description":"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.","status":"published","published":"2017-10-24T18:33:38Z","modified":"2025-04-09T16:49:46Z","cwes":["CWE-352"],"updated_at":"2026-11-02T14:38:38.344711Z"}],"nvd":[{"id":"CVE-2008-5189","description":"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.","status":"published","published":"2008-11-21T12:00:00.187Z","modified":"2026-06-16T22:59:25.843Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:01:29.702694Z"}],"osv":[{"id":"CVE-2008-5189","description":"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.","status":"published","published":"2008-11-21T12:00:00Z","modified":"2026-04-10T03:40:20.290803Z","updated_at":"2026-11-02T15:43:57.452479Z"},{"id":"DEBIAN-CVE-2008-5189","description":"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.","status":"published","published":"2008-11-21T12:00:00.187Z","modified":"2026-10-23T17:47:25.023724065Z","updated_at":"2026-11-02T15:45:23.742363Z"},{"id":"GHSA-jmgf-p46x-982h","title":"rails is vulnerable to CRLF injection","description":"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.","status":"published","published":"2017-10-24T18:33:38Z","modified":"2025-04-09T17:02:22.936736Z","cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:50.687609Z"}]}}
