{"id":"GHSA-jmgf-p46x-982h","summary":"rails is vulnerable to CRLF injection","details":"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.","aliases":["CVE-2008-5189"],"modified":"2025-04-09T17:01:03.625921Z","published":"2017-10-24T18:33:38Z","database_specific":{"nvd_published_at":"2008-11-21T12:00:00Z","cwe_ids":["CWE-352"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:43:46Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5189"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2008-5189.yml"},{"type":"PACKAGE","url":"http://github.com/rails/rails"},{"type":"WEB","url":"http://github.com/rails/rails/commit/7282ed863ca7e6f928bae9162c9a63a98775a19d"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html"},{"type":"WEB","url":"http://weblog.rubyonrails.org/2008/10/19/rails-2-0-5-redirect_to-and-offset-limit-sanitizing"},{"type":"WEB","url":"http://weblog.rubyonrails.org/2008/10/19/response-splitting-risk"}],"affected":[{"package":{"name":"rails","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-jmgf-p46x-982h/GHSA-jmgf-p46x-982h.json"}}],"schema_version":"1.9.0"}