Skip to content
OpenAdvisories
Medium CVE-2008-5189 EUVD-2017-0263GHSA-jmgf-p46x-982h

rails is vulnerable to CRLF injection

Published Nov 21, 2008 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2.1.0-6 —
Debian 13 rails 2.1.0-6 —
Debian 12 rails 2.1.0-6 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems rails < 2.0.5 2.0.5 GHSA-jmgf-p46x-982h

References