Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. devise
  4. ›
  5. CVE-2019-5421

CVE-2019-5421: Time-of-check Time-of-use (TOCTOU) Race Condition

April 3, 2019 (updated October 9, 2019)

Using the lockable module contains a vulnerability that can result in multiple concurrent requests can prevent an attacker from being blocked on brute force attacks.

References

  • github.com/plataformatec/devise/issues/4981
  • nvd.nist.gov/vuln/detail/CVE-2019-5421

Code Behaviors & Features

Detect and mitigate CVE-2019-5421 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 4.5.0

Fixed versions

  • 4.6.0

Solution

Upgrade to version 4.6.0 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-307: Improper Restriction of Excessive Authentication Attempts

Source file

gem/devise/CVE-2019-5421.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:08 +0000.