CVE-2019-5421 – devise
Package
Manager: gem
Name: devise
Vulnerable Version: >=0 <4.6.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:R
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00229 pctl0.45637
Details
devise Time-of-check Time-of-use Race Condition vulnerability Devise ruby gem before 4.6.0 when the `lockable` module is used is vulnerable to a time-of-check time-of-use (TOCTOU) race condition due to `increment_failed_attempts` within the `Devise::Models::Lockable` class not being concurrency safe.
Metadata
Created: 2019-03-19T18:03:25Z
Modified: 2023-01-23T20:46:50Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/03/GHSA-73rf-6mrf-759q/GHSA-73rf-6mrf-759q.json
CWE IDs: ["CWE-367"]
Alternative ID: GHSA-73rf-6mrf-759q
Finding: F124
Auto approve: 1