Medium severity5.3NVD Advisory· Published Apr 11, 2022· Updated Jun 17, 2026
CVE-2021-43177
CVE-2021-43177
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)
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
devise-two-factorRubyGems | < 4.0.2 | 4.0.2 |
Affected products
3cpe:2.3:a:tinfoilsecurity:devise-two-factor:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:tinfoilsecurity:devise-two-factor:*:*:*:*:*:*:*:*range: <4.0.2
- (no CPE)range: < 4.0.2
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-jm35-h8q2-73mpghsaADVISORY
- github.com/tinfoil/devise-two-factor/security/advisories/GHSA-jm35-h8q2-73mpnvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-43177ghsaADVISORY
- github.com/rubysec/ruby-advisory-db/blob/master/gems/devise-two-factor/CVE-2021-43177.ymlghsaWEB
- github.com/tinfoil/devise-two-factor/issues/106ghsaWEB
News mentions
0No linked articles in our index yet.