Devise Gem for Ruby Unauthorized Access Using "Remember Me" Cookie
High severity
GitHub Reviewed
Published
Jan 26, 2023
to the GitHub Advisory Database
•
Updated Dec 14, 2023
Description
Published to the GitHub Advisory Database
Jan 26, 2023
Reviewed
Jan 26, 2023
Published by the National Vulnerability Database
Dec 12, 2023
Last updated
Dec 14, 2023
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.
References