{"id":"CVE-2019-5421","aliases":["GHSA-73rf-6mrf-759q"],"url":"https://o3.security/vulnerability/CVE-2019-5421","summary":"devise Time-of-check Time-of-use Race Condition vulnerability","details":"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.","published":"2019-04-03T15:29:01.663Z","modified":"2026-08-27T08:13:34.120882Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"RubyGems","name":"devise","fixedVersion":"4.6.0"}],"fix":{"url":"https://github.com/plataformatec/devise/pull/4996","label":"plataformatec/devise#4996"},"references":[{"type":"REPORT","url":"https://github.com/plataformatec/devise/issues/4981"},{"type":"FIX","url":"https://github.com/plataformatec/devise/pull/4996"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5421"},{"type":"PACKAGE","url":"https://github.com/plataformatec/devise"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-27T08:13:34.120882Z"}}