{"cve":"CVE-2019-5421","nvd":{"published":"2019-04-03T15:29:01.663","modified":"2026-06-17T02:37:39.607","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-307","CWE-367"],"references":["https://github.com/plataformatec/devise/issues/4981","https://github.com/plataformatec/devise/pull/4996","https://github.com/plataformatec/devise/issues/4981","https://github.com/plataformatec/devise/pull/4996"],"products":["plataformatec:devise"],"source":"nvd","synced_at":"2026-10-19T20:55:22.313337056+00:00"},"epss":{"cve":"CVE-2019-5421","score":0.01556,"percentile":0.75179,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-73rf-6mrf-759q","url":"https://osv.dev/vulnerability/GHSA-73rf-6mrf-759q","summary":"devise Time-of-check Time-of-use Race Condition vulnerability","modified":"2024-11-30T05:31:04.698625Z","packages":[{"ecosystem":"RubyGems","name":"devise","purl":"pkg:gem/devise","ranges":["<4.6.0"],"fixed":["4.6.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}