GHSA-73rf-6mrf-759q

    Dashboard / Vulnerabilities / GHSA-73rf-6mrf-759q

    GHSA-73rf-6mrf-759q

    Published: 19 Mar 2019Last Modified: 30 Nov 2024
    Aliases:

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

    Details: 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.

    Affected packages

    Package

    Name: devise

    Purl: pkg:gem/devise

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.6.0

    Affected versions

    0.1.0
    0.1.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High