Cross-site Request Forgery (CSRF) Affecting rails package, versions <2:5.2.4.3+dfsg-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.22% (61st 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-DEBIAN12-RAILS-1558623
  • published4 Jun 2020
  • disclosed2 Jul 2020

Introduced: 4 Jun 2020

CVE-2020-8166  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade Debian:12 rails to version 2:5.2.4.3+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rails package and not the rails package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

A CSRF forgery vulnerability exists in rails < 5.2.5, rails < 6.0.4 that makes it possible for an attacker to, given a global CSRF token such as the one present in the authenticity_token meta tag, forge a per-form CSRF token.

CVSS Scores

version 3.1