VDB
CVE-2021-43177
CVE-2021-43177
PUBLISHED
CVSS 5.300000190734863 MEDIUM
Improper one time password handling in devise-two-factor
Reported by snps · Published April 11, 2022
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)
Risk scores
CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Tinfoil | devise-two-factor | < 4.0.2 |
| Tinfoil | devise-two-factor | 0 |
| RubyGems | devise-two-factor | 0 |
Timeline
- Apr 7, 2022 CVE Published
- Apr 12, 2022 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Apr 9, 2026 Security Advisory
- Jul 18, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-43177
vulnetix vdb fixes CVE-2021-43177
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-43177/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- https://github.com/tinfoil/devise-two-factor/issues/106 url
- https://github.com/advisories/GHSA-jm35-h8q2-73mp advisory