plataformatec/devise · Security

devise Time-of-check Time-of-use Race Condition vulnerability

GHSA ID
GHSA-73rf-6mrf-759q
CVE ID
CVE-2019-5421
Severity
medium
Published
Updated

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.

CWEs

References