VDB
Sign up
MEDIUM5.3

GHSA-fcjw-8rhj-gwwc

Authentication Bypass in Devise

Quick fix

GHSA-fcjw-8rhj-gwwc — devise: upgrade to the fixed version with the command below.

bundle update devise

Details

An issue was discovered in Plataformatec Devise before 4.7.1. It confirms accounts upon receiving a request with a blank confirmation_token, if a database record has a blank value in the confirmation_token column. (However, there is no scenario within Devise itself in which such database records would exist.)

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/devise
Introduced in: 0Fixed in: 4.7.1
Fixbundle update devise

References