CVE-2019-5421
highpriority · track · 40EPSS 0.016 · 75 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-73rf-6mrf-759qdevise Time-of-check Time-of-use Race Condition vulnerability2019-03-19ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/plataformatec/devise/issues/4981cnnvd
- https://github.com/plataformatec/devise/pull/4996cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-5421cnnvd
- https://github.com/plataformatec/devise/issues/4981enisa_euvd
- https://github.com/plataformatec/devise/pull/4996enisa_euvd
- https://github.com/plataformatec/devise/issues/4981ExploitIssue TrackingThird Party Advisorynvd
- https://github.com/plataformatec/devise/pull/4996PatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan