VDB

CVE-2019-5421

CVE-2019-5421 PUBLISHED CVSS 9.800000190734863 CRITICAL

devise Time-of-check Time-of-use Race Condition vulnerability

Reported by hackerone · Published April 3, 2019

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.

Risk scores

CVSS 3.0
9.800000190734863
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
PlataformatecDevise ruby gem4.5.0 and earlier using the lockable module
PlataformatecDevise ruby gem4.5.0
RubyGemsdevise0

Timeline

  • Mar 19, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Oct 24, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Sep 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-5421
vulnetix vdb fixes CVE-2019-5421

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-5421/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›