Cross-site Request Forgery (CSRF) Affecting trestle-auth package, versions >=0.4.0, <0.4.2


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.06% (30th 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-TRESTLEAUTH-1245466
  • published14 Apr 2021
  • disclosed14 Apr 2021
  • creditTomek Rabczak

Introduced: 14 Apr 2021

CVE-2021-29435  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade trestle-auth to version 0.4.2 or higher.

Overview

trestle-auth is an authentication plugin for the Trestle admin framework.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). An attacker can create a form that will bypass Rails' built-in CSRF protection when submitted by a victim with a trestle-auth admin session. This potentially allows an attacker to alter protected data, including admin account credentials.

References

CVSS Scores

version 3.1