CVE-2021-43177

MEDIUM
5.3
CVSS Score
Published: April 11, 2022 at 07:37 PM UTC
Updated: June 17, 2026 at 04:10 AM UTC
2 products affected across 2 vendorsDevise Two FactorDevise Two Factor

Using devise-two-factor by Tinfoil?

Get instant alerts when new vulnerabilities affect devise-two-factor - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.9%

Description

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. CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N)

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.0.2
Affected range stops below 4.0.2, so it looks safe — our inference, not a vendor statement
v < 4.0.2
Affected range stops below 4.0.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-254NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card