{"id":"CVE-2019-5421","state":"PUBLISHED","title":"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 `#incre","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.","publishedAt":"2019-04-03T14:21:37.000Z","updatedAt":"2024-08-04T19:54:53.557Z","severity":null,"assigner":"hackerone","products":["Plataformatec Devise ruby gem"],"affected":[{"vendor":"Plataformatec","product":"Devise ruby gem","versions":[{"version":"4.5.0 and earlier using the lockable module","status":"affected"}]}],"references":["https://github.com/plataformatec/devise/issues/4981","https://github.com/plataformatec/devise/pull/4996"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T19:46:04.126Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/5xxx/CVE-2019-5421.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-5421","state":"PUBLISHED","datePublished":"2019-04-03T14:21:37.000Z","dateUpdated":"2024-08-04T19:54:53.557Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2019-01-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"Plataformatec","product":"Devise ruby gem","versions":[{"version":"4.5.0 and earlier using the lockable module","status":"affected"}]}],"references":[{"url":"https://github.com/plataformatec/devise/issues/4981","tags":["x_refsource_MISC"]},{"url":"https://github.com/plataformatec/devise/pull/4996","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","description":"Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"hackerone","dateUpdated":"2019-04-03T14:21:37.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1"},"datePublic":"2018-11-27T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","ID":"CVE-2019-5421","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Devise ruby gem","version":{"version_data":[{"version_value":"4.5.0 and earlier using the lockable module"}]}}]},"vendor_name":"Plataformatec"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)"}]}]},"references":{"reference_data":[{"name":"https://github.com/plataformatec/devise/issues/4981","refsource":"MISC","url":"https://github.com/plataformatec/devise/issues/4981"},{"name":"https://github.com/plataformatec/devise/pull/4996","refsource":"MISC","url":"https://github.com/plataformatec/devise/pull/4996"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/plataformatec/devise/issues/4981","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/plataformatec/devise/pull/4996","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T19:54:53.557Z"}}]}}}