GHSA-jm35-h8q2-73mp

    Dashboard / Vulnerabilities / GHSA-jm35-h8q2-73mp

    GHSA-jm35-h8q2-73mp

    Published: 7 Apr 2022Last Modified: 27 Aug 2026

    Summary: Improper one time password handling in devise-two-factor

    Details: ### Impact As a result of an incomplete fix for CVE-2015-7225, in versions of devise-two-factor prior to 4.0.2 it is possible to reuse a One-Time-Password (OTP) for one (and only one) immediately trailing interval. ### Patches This vulnerability has been patched in version 4.0.2 which was released on March 24th, 2022. Individuals using this package are strongly encouraged to upgrade as soon as possible. ### Credit for discovery Benoit Côté-Jodoin Michael Nipper - https://github.com/tinfoil/devise-two-factor/issues/106

    Affected packages

    Package

    Name: devise-two-factor

    Purl: pkg:gem/devise-two-factor

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.0.2

    Affected versions

    1.0.0
    1.0.1
    1.0.2

    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
    GHSA-jm35-h8q2-73mp | CVE-DB