{ "canonical_id": "rails--CVE-2008-5189", "system_id": "rails", "display_name": "Ruby on Rails", "category": "frameworks", "advisory_mode": "core", "title": "rails is vulnerable to CRLF injection", "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.", "published_at": "2017-10-24T18:33:38Z", "updated_at": "2025-04-09T17:02:22.936736Z", "severity": "medium", "cvss_score": 5.0, "exploit_status": "unknown", "source_confidence": "official", "official_source_url": "https://nvd.nist.gov/vuln/detail/CVE-2008-5189", "secondary_source_urls": [ "http://github.com/rails/rails/commit/7282ed863ca7e6f928bae9162c9a63a98775a19d", "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2008-5189.yml", "http://github.com/rails/rails", "http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html", "http://weblog.rubyonrails.org/2008/10/19/rails-2-0-5-redirect_to-and-offset-limit-sanitizing", "http://weblog.rubyonrails.org/2008/10/19/response-splitting-risk", "http://www.securityfocus.com/bid/32359" ], "aliases": [ "CVE-2008-5189", "GHSA-jmgf-p46x-982h" ], "cve_ids": [ "CVE-2008-5189" ], "ghsa_ids": [ "GHSA-jmgf-p46x-982h" ], "osv_ids": [ "GHSA-jmgf-p46x-982h" ], "affected_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", "introduced=0, fixed<2.0.5" ], "fixed_versions": [ "2.0.5" ], "package_name": "rails", "render_markdown": true, "case_path": "07-framework-security/frameworks/rails/cases/rails-cve-2008-5189.md", "secure_code_topics": [ "xss-output-encoding", "file-upload-validation", "authz-server-side-recheck" ], "status": "generated", "triage_reasons": [], "verification_status": "triage-manual", "verification_mode": "synthetic", "last_verified_at": null, "last_run_id": null, "evidence_bundle": null, "historical_status": null, "latest_status": null, "browser_evidence": { "required": false, "present": false, "refs": [] }, "repro_profile_id": "xss-generic", "artifact_mode": "synthetic", "blocked_reason": null, "metadata": { "source_names": [ "OSV Rails", "NVD Ruby on Rails" ], "source_kinds": [ "osv-batch", "nvd-search" ], "candidate_count": 2 } }