{"id":"CVE-2021-43177","aliases":["GHSA-jm35-h8q2-73mp"],"url":"https://o3.security/vulnerability/CVE-2021-43177","summary":"Improper one time password handling in devise-two-factor","details":"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)","published":"2022-04-11T20:15:16.037Z","modified":"2026-04-10T04:40:38.453297Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"devise-two-factor","fixedVersion":"4.0.2"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/tinfoil/devise-two-factor/security/advisories/GHSA-jm35-h8q2-73mp"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-10T04:40:38.453297Z"}}