CVE-2019-5421
devise Time-of-check Time-of-use Race Condition vulnerability
Reported by hackerone · Published April 3, 2019
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Plataformatec | Devise ruby gem | 4.5.0 and earlier using the lockable module |
| Plataformatec | Devise ruby gem | 4.5.0 |
| RubyGems | devise | 0 |
Timeline
- Mar 19, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 24, 2025 CVE Updated
- Mar 17, 2026 Security Advisory
- Sep 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-5421
vulnetix vdb fixes CVE-2019-5421
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-5421/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2019-5421 advisory