CVE-2019-5421
CRITICAL 9.8CVSS 3.1devise Time-of-check Time-of-use Race Condition vulnerability
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.
- Published
- 3 Apr 2019
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-307CWE-367
- Also known as
- GHSA-73rf-6mrf-759q
- Sources
- NVDJSONOSV GHSA-73rf-6mrf-759qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | plataformatec | devisecpe:2.3:a:plataformatec:devise:*:*:*:*:*:*:*:* |
<= 4.5.0 | |
| OSV | RubyGems | devise | < 4.6.0 | 4.6.0 |
References
- https://github.com/plataformatec/devise/issues/4981 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/plataformatec/devise/pull/4996 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-5421 · ADVISORY
- https://github.com/plataformatec/devise · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 3 Apr 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Mar 2019)