{"id":"UBUNTU-CVE-2019-5421","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.","modified":"2025-10-24T04:47:27Z","published":"2019-04-03T15:29:00Z","upstream":["CVE-2019-5421"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-5421"},{"type":"REPORT","url":"https://github.com/plataformatec/devise/issues/4981"},{"type":"REPORT","url":"https://github.com/plataformatec/devise/pull/4996"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-5421"}],"affected":[{"package":{"name":"gitlab","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/gitlab@8.5.8+dfsg-5?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"],"ecosystem_specific":{"binaries":[{"binary_name":"gitlab","binary_version":"8.5.8+dfsg-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5421.json"}},{"package":{"name":"ruby-devise","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-devise@4.4.3-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.0-1","4.3.0-1","4.4.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-devise","binary_version":"4.4.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5421.json"}},{"package":{"name":"ruby-devise","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-devise@4.5.0-3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.0-3"}]}],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ruby-devise","binary_version":"4.5.0-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5421.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}