What’s Vulnerable › Vulnerabilities

CVE-2021-43177: Improper one time password handling in devise-two-factor

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 products

How to fix

Upgrade to a fixed version: devise-two-factor 4.0.2; Rubygems Devise-Two-Factor 4.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-43177 or the next vulnerability affects your stack