Cross-Site Request Forgery (CSRF) Affecting rails package, versions <2.0.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-Site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-RAILS-455953
  • published31 Jul 2019
  • disclosed21 Nov 2008
  • creditUnknown

Introduced: 21 Nov 2008

CVE-2008-5189  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade rails to version 2.0.5 or higher.

Overview

rails is an opensource MVC web framework.

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF). It allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via a crafted URL to the redirect_to function.

CVSS Scores

version 3.1