cve.bz

CVE-2021-43177 tinfoilsecurity devise-two-factor: 7PK - Security Features

5.3 mediumEPSS 0.9%Fix available

Medium (5.3) in tinfoilsecurity devise-two-factor. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in devise-two-factor 4.0.2.

On this page
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)

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-254 7PK - Security Features
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-43177 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-43177?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-43177?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-43177 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
tinfoilsecurity:devise-two-factorbefore 4.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jm35-h8q2-73mpRubyGemsdevise-two-factor<4.0.24.0.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ruby-devise-two-factor4.0.2-1DEBIAN-CVE-2021-43177
Ubuntu16.04:LTSruby-devise-two-factorno fix listedUBUNTU-CVE-2021-43177
UbuntuPro:20.04:LTSruby-devise-two-factor3.1.0-2ubuntu0.1~esm1UBUNTU-CVE-2021-43177 USN-7050-1
UbuntuPro:22.04:LTSruby-devise-two-factor4.0.0-2ubuntu0.1~esm1UBUNTU-CVE-2021-43177 USN-7050-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

References

Check your stackJSON