Every CVE Search/ Get API key

CVE-2008-5189

rails is vulnerable to CRLF injection

5.0 MediumFix available

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

1.53%Up 0.3 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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

Affected packages
PackageAffectedFixed
rails
RubyGems
before 2.0.5
2.0.5
rails
Debian:12
before 2.1.0-6
2.1.0-6
rails
Debian:13
before 2.1.0-6
2.1.0-6
rails
Debian:14
before 2.1.0-6
2.1.0-6
rails
RubyGems
before 2.0.5, plus listed versions
0.10.00.10.10.11.00.11.10.12.0
Show 35 moreShow less
0.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

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 4 moreShow less
MoveEnter Open