Devise ruby gem before 4.6.0 when the lockable
module is used is vulnerable to a time-of-check time-of-use (TOCTOU) race condition due to increment_failed_attempts
within the Devise::Models::Lockable
class not being concurrency safe.
{ "nvd_published_at": null, "cwe_ids": [ "CWE-367" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:21:17Z" }