{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-5421","id":"CVE-2019-5421","title":"devise Time-of-check Time-of-use Race Condition vulnerability","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 explo","descriptionLong":"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-03T14:21:37.000Z","updated":"2026-10-20T10:51:39.978691281Z","reserved":"2019-01-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["Plataformatec Devise ruby gem"],"affectedProducts":[{"vendor":"Plataformatec","product":"Devise ruby gem","defaultStatus":null,"versions":[{"status":"affected","version":"4.5.0 and earlier using the lockable module"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"devise","purl":"pkg:gem/devise","ranges":["<4.6.0"],"fixed":["4.6.0"],"advisory":"GHSA-73rf-6mrf-759q"}],"cwes":["CWE-367","CWE-307"],"aliases":["GHSA-73rf-6mrf-759q"],"references":[{"url":"https://github.com/plataformatec/devise/issues/4981","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/plataformatec/devise/pull/4996","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5421","tags":["advisory"]},{"url":"https://github.com/plataformatec/devise","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01556,"epssPercentile":0.7571,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-5421","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5421","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-5421","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-73rf-6mrf-759q","ok":true,"note":"GHSA-73rf-6mrf-759q"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-5421","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}