Cross-site Request Forgery (CSRF) Affecting omniauth package, versions >=0.0.0, <2.0.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.17% (55th 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-OMNIAUTH-174820
  • published30 May 2019
  • disclosed24 Apr 2015
  • creditMohamed Abdelbaset Elnoby

Introduced: 24 Apr 2015

CVE-2015-9284  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade omniauth to version 2.0.0 or higher.

Overview

omniauth is a generalized Rack framework for multiple-provider authentication.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). An attacker may be allowed to be connected to the user without the user's intent, interaction, or feedback. This permits a secondary account to be able to sign into the web application as the primary account.

Note:

  • The package is only vulnerable when used as part of the Ruby on Rails framework.
  • It is possible to use the omniauth-rails_csrf_protection gem to mitigate this attack

CVSS Scores

version 3.1