{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ID": "CVE-2019-5421", "ASSIGNER": "support@hackerone.com", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "Plataformatec", "product": { "product_data": [ { "product_name": "Devise ruby gem", "version": { "version_data": [ { "version_value": "4.5.0 and earlier using the lockable module" } ] } } ] } } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "name": "https://github.com/plataformatec/devise/issues/4981", "url": "https://github.com/plataformatec/devise/issues/4981" }, { "refsource": "MISC", "name": "https://github.com/plataformatec/devise/pull/4996", "url": "https://github.com/plataformatec/devise/pull/4996" } ] }, "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." } ] } }