Vulnerability in Plataformatec Devise
CVE-2019-5421
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.
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.016 (74.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 74.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: 0.000
Affected products
- Plataformatec Devise
- Plataformatec Devise Ruby Gem — versions 4.5.0 and earlier using the lockable module
Weakness classification (CWE)
References
- github.com/plataformatec/devise/issues/4981 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/plataformatec/devise/pull/4996 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-5421?
- CVE-2019-5421 is a critical-severity vulnerability in Plataformatec Devise, classified under Time-of-check Time-of-use (TOCTOU) Race Condition. CVSS score: 9.8/10. Published 2019-04-03.
- How severe is CVE-2019-5421?
- Critical severity. CVSS v3 base score is 9.8 out of 10.