CVE-2019-5421
devise Time-of-check Time-of-use Race Condition vulnerability
9.8
CRITICAL
CVSS 3.1
EPSS 1.6%
Description
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.
How to fix CVE-2019-5421
To remediate CVE-2019-5421, upgrade the affected package to a fixed version below.
- —upgrade to 4.5.0-3 or later
- —upgrade to 4.6.0 or later
Is CVE-2019-5421 being exploited?
Low — EPSS is 1.6%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 4.5.0-3
- from 0, < 4.6.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |