CVE-2019-5421Plataformatec Devise
Critical 9.8 No auth needed
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Apr 3, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Devise.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | devise |
< 4.6.0 |
4.6.0 |
gem "devise", ">= 4.6.0" |
Per OSV / GitHub Advisories (GHSA-73rf-6mrf-759q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| plataformatec | devise | ≤ 4.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory