CVE-2008-5189 json
rails is vulnerable to CRLF injection
published 2008-11-21 17 y ago modified 2026-06-16 4 mo ago also GHSA-jmgf-p46x-982h , EUVD-2017-0263
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems rails 2.0.5
- rails Debian 14, Debian 13, Debian 12 2.1.0-6
debian advisories DEBIAN-CVE-2008-5189
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-5189 updated
rubygems-actionpack: redirect HTTP header injection vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.53% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rails | <2.0.5 |
2.0.5 |
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
- Technology feeds
References
-
github.com
/rails/rails/commit/7282ed863ca7e6f928bae9162c9a63a98775a19d
web
-
securityfocus.com
/bid/32359
vdb-entry, patch
-
lists.opensuse.org
/opensuse-security-announce/2008-12/msg00002.html
vendor-advisory, web
-
weblog.rubyonrails.org
/2008/10/19/rails-2-0-5-redirect_to-and-offset-limit-sanitizing
web, vendor-advisory
-
weblog.rubyonrails.org
/2008/10/19/response-splitting-risk
web
-
nvd.nist.gov
/vuln/detail/CVE-2008-5189
advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2008-5189.yml
web
-
github.com
/rails/rails
package
Sources
- CVE List CVE-2008-5189
- GitHub Advisory GHSA-jmgf-p46x-982h
- NVD CVE-2008-5189
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.