{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-5421","published":"2019-04-03T15:29:01.663000Z","last_modified":"2026-06-17T02:37:39.607000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-367","CWE-307"],"cpes":[{"criteria":"cpe:2.3:a:plataformatec:devise:*:*:*:*:*:*:*:*","part":"a","vendor":"plataformatec","product":"devise","version_end_including":"4.5.0"}],"cpes_truncated":false,"vendors":["plataformatec"],"products":["plataformatec/devise"],"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-73rf-6mrf-759q","ecosystem":"RubyGems","name":"devise","purl":"pkg:gem/devise","ranges":[{"introduced":"0","fixed":"4.6.0"}],"versions":["0.1.0","0.1.1","0.2.0","0.2.1","0.2.2","0.2.3","0.3.0","0.4.0","0.4.1","0.4.2","0.4.3","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.6.0","0.6.1","0.6.2","0.6.3","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.8.0","0.8.1","0.8.2","0.9.0","0.9.1","0.9.2","1.0.0","1.0.1","1.0.10","1.0.11","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8","1.1.9","1.1.pre","1.1.pre2","1.1.pre3","1.1.pre4","1.1.rc0","1.1.rc1","1.1.rc2","1.2.0","1.2.1","1.2.rc","1.2.rc2","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.4.1","1.4.2","1.4.3","1.4.5","1.4.7","1.4.8","1.4.9","1.5.0","1.5.0.rc1","1.5.1","1.5.2","1.5.3","1.5.4","2.0.0","2.0.0.rc","2.0.0.rc2","2.0.1","2.0.2","2.0.4","2.0.5","2.0.6","2.1.0","2.1.0.rc","2.1.0.rc2","2.1.2","2.1.3","2.1.4","2.2.0","2.2.0.rc","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","3.0.0","3.0.0.rc","3.0.1","3.0.2","3.0.3","3.0.4","3.1.0","3.1.0.rc2","3.1.1","3.1.2","3.2.0","3.2.1","3.2.2","3.2.3","3.2.4","3.3.0","3.4.0","3.4.1","3.5.1","3.5.10","3.5.2","3.5.3","3.5.4","3.5.5","3.5.6","3.5.7","3.5.8","3.5.9","4.0.0","4.0.0.rc1","4.0.0.rc2","4.0.1","4.0.2","4.0.3","4.1.0","4.1.1","4.2.0","4.2.1","4.3.0","4.4.0","4.4.1","4.4.2","4.4.3","4.5.0"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2019-5421/","html_en":"/en/cve/CVE-2019-5421/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-5421","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-5421"},"untrusted":{"vendor_name":"Plataformatec","product_name":"Devise","desc_en":"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.","affected":[{"untrusted_vendor":"Plataformatec","untrusted_product":"Devise ruby gem"}],"references":[{"url":"https://github.com/plataformatec/devise/issues/4981","tags":["Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/plataformatec/devise/pull/4996","tags":["Patch","Third Party Advisory"]}]}}