ADVISORIES

GitHub Advisory Database

GHSA-746g-3gfp-hfhw

Devise Gem for Ruby Unauthorized Access Using "Remember Me" Cookie

Details

Devise version before 3.5.4 uses cookies to implement a "Remember me" functionality. However, it generates the same cookie for all devices. If an attacker manages to steal a remember me cookie and the user does not change the password frequently, the cookie can be used to gain access to the application indefinitely.

Affected packages

EcosystemPackageAffected versions
RubyGemsdevise
All versions before 3.5.4 (fixed in 3.5.4)

References