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.
{
"nvd_published_at": "2023-12-12T17:15:07Z",
"cwe_ids": [
"CWE-288",
"CWE-312"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2023-01-26T23:54:07Z"
}