devise Time-of-check Time-of-use Race Condition vulnerability
Moderate severity
GitHub Reviewed
Published
Mar 19, 2019
to the GitHub Advisory Database
•
Updated Jan 23, 2023
Description
Published to the GitHub Advisory Database
Mar 19, 2019
Reviewed
Jun 16, 2020
Last updated
Jan 23, 2023
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 toincrement_failed_attempts
within theDevise::Models::Lockable
class not being concurrency safe.References