Affected versions
RubyGemsdevise
- Affected versions
- < 4.6.0
- Fixed version
- 4.6.0
Exploitation
Description
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.

