CVE-2021-43177
publisheddevise-two-factor vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Tinfoil | — | devise-two-factor< 4.0.2 | Affected | Not stated | SNPS |
| Ubuntu | focal | ruby-devise-two-factor | Advisory build | 3.1.0-2ubuntu0.1~esm1 | USN-7050-1 |
| Ubuntu | jammy | ruby-devise-two-factor | Advisory build | 4.0.0-2ubuntu0.1~esm1 | USN-7050-1 |
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)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Tinfoil | devise-two-factor | < 4.0.2 (affected) | SNPS · cna |
Weaknesses
1- CWE-254 CWE-254: 7PK - Security Features
References
1Provider assertions
2SNPS · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0d16348efa93b8f3835657e9ee78b05a1b1c428410acfcdac57d59e70ecccac7
- Ingested
- 23 Sep 2026, 07:56:29 UTC
- Source record
- Official CVE record