CVE-2019-5421
published 2019-04-03CVE-2019-5421: Plataformatec Devise version 4.5.0 and earlier, using the lockable module contains a CWE-367 vulnerability in The `Devise::Models::Lockable` class, more…
PriorityP348critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.56%
72.1th percentile
Plataformatec Devise version 4.5.0 and earlier, using the lockable module contains a CWE-367 vulnerability in The `Devise::Models::Lockable` class, more specifically at the `#increment_failed_attempts` method. File location: lib/devise/models/lockable.rb that can result in Multiple concurrent requests can prevent an attacker from being blocked on brute force attacks. This attack appear to be exploitable via Network connectivity - brute force attacks. This vulnerability appears to have been fixed in 4.6.0 and later.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ruby-devise | < ruby-devise 4.5.0-3 (bookworm) | ruby-devise 4.5.0-3 (bookworm) |
| plataformatec | devise | <= 4.5.0 | — |
| plataformatec | devise | >= 0 < 4.6.0 | 4.6.0 |
| plataformatec | devise_ruby_gem | — | — |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2019-5421: Plataformatec Devise version 4
osv·2019-04-03·CVSS 9.8
CVE-2019-5421 [CRITICAL] CVE-2019-5421: Plataformatec Devise version 4
Plataformatec Devise version 4.5.0 and earlier, using the lockable module contains a CWE-367 vulnerability in The `Devise::Models::Lockable` class, more specifically at the `#increment_failed_attempts` method. File location: lib/devise/models/lockable.rb that can result in Multiple concurrent requests can prevent an attacker from being blocked on brute force attacks. This attack appear to be exploitable via Network connectivity - brute force attacks. This vulnerability appears to have been fixed in 4.6.0 and later.
OSV
devise Time-of-check Time-of-use Race Condition vulnerability
osv·2019-03-19
CVE-2019-5421 [MEDIUM] devise Time-of-check Time-of-use Race Condition vulnerability
devise Time-of-check Time-of-use Race Condition vulnerability
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.
GHSA
devise Time-of-check Time-of-use Race Condition vulnerability
ghsa·2019-03-19
CVE-2019-5421 [MEDIUM] CWE-367 devise Time-of-check Time-of-use Race Condition vulnerability
devise Time-of-check Time-of-use Race Condition vulnerability
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.
Debian
CVE-2019-5421: ruby-devise - Plataformatec Devise version 4.5.0 and earlier, using the lockable module contai...
vendor_debian·2019·CVSS 9.8
CVE-2019-5421 [CRITICAL] CVE-2019-5421: ruby-devise - Plataformatec Devise version 4.5.0 and earlier, using the lockable module contai...
Plataformatec Devise version 4.5.0 and earlier, using the lockable module contains a CWE-367 vulnerability in The `Devise::Models::Lockable` class, more specifically at the `#increment_failed_attempts` method. File location: lib/devise/models/lockable.rb that can result in Multiple concurrent requests can prevent an attacker from being blocked on brute force attacks. This attack appear to be exploitable via Network connectivity - brute force attacks. This vulnerability appears to have been fixed in 4.6.0 and later.
Scope: local
bookworm: resolved (fixed in 4.5.0-3)
bullseye: resolved (fixed in 4.5.0-3)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2019-04-03
Published