CVE-2008-5189
rails is vulnerable to CRLF injection
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2008-5189- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-352
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2008-5189- Updated
- 2026-11-02
EUVDEUVD-2017-0263 No score
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.
- Record
EUVD-2017-0263- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jmgf-p46x-982h No score
rails is vulnerable to CRLF injection
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.
- Record
GHSA-jmgf-p46x-982h- Weakness
- CWE-352
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2008-5189- Updated
- 2026-11-02
OSVDEBIAN-CVE-2008-5189 No score
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.
- Record
DEBIAN-CVE-2008-5189- Updated
- 2026-11-02
OSVGHSA-jmgf-p46x-982h No score
rails is vulnerable to CRLF injection
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.
- Record
GHSA-jmgf-p46x-982h- Weakness
- CWE-352
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
railsRubyGems |
before 2.0.5 | 2.0.5 |
railsDebian:12 |
before 2.1.0-6 | 2.1.0-6 |
railsDebian:13 |
before 2.1.0-6 | 2.1.0-6 |
railsDebian:14 |
before 2.1.0-6 | 2.1.0-6 |
railsRubyGems |
before 2.0.5, plus listed versions 0.10.00.10.10.11.00.11.10.12.0 Show 35 moreShow less0.12.10.13.00.13.10.14.10.14.20.14.30.14.40.8.00.8.50.9.00.9.10.9.20.9.30.9.40.9.4.10.9.51.0.01.1.01.1.11.1.21.1.31.1.41.1.51.1.61.2.01.2.11.2.21.2.31.2.41.2.51.2.62.0.02.0.12.0.22.0.4 |
2.0.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2008-5189 is a medium vulnerability (CVSS 5.0) in Rubyonrails Rails, published November 21, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.53%, the 74th percentile. Fixed in rails 2.0.5.
References
github.com/rails/rails/commit/7282ed863ca7e6f928bae9162c9a63a98775a19d
securityfocus.com/bid/32359
lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html
weblog.rubyonrails.org/2008/10/19/rails-2-0-5-redirect_to-and-offset-limit-sanitizing
weblog.rubyonrails.org/2008/10/19/response-splitting-risk
nvd.nist.gov/vuln/detail/CVE-2008-5189