Vulnerability · Published Apr 11, 2022 · Assigned by SNPS

CVE-2021-43177

Medium 5.3

In plain English

A medium-severity security flaw in devise-two-factor from Tinfoil. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)0.9%top 40.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ruby-devise-two-factor4.0.2-1DEBIAN-CVE-2021-43177
RubyGemsdevise-two-factor4.0.2GHSA-jm35-h8q2-73mp

Affected products (as reported)

VendorProductVersions
Tinfoil devise-two-factor < 4.0.2

Weakness: CWE-254

References