{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-43177","published":"2022-04-11T20:15:16.037000Z","last_modified":"2026-06-17T04:10:35.417000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-254"],"cpes":[{"criteria":"cpe:2.3:a:tinfoilsecurity:devise-two-factor:*:*:*:*:*:*:*:*","part":"a","vendor":"tinfoilsecurity","product":"devise-two-factor","version_end_excluding":"4.0.2"}],"cpes_truncated":false,"vendors":["tinfoilsecurity"],"products":["tinfoilsecurity/devise-two-factor"],"epss":{"score":0.00884,"percentile":0.57061,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jm35-h8q2-73mp","ecosystem":"RubyGems","name":"devise-two-factor","purl":"pkg:gem/devise-two-factor","ranges":[{"introduced":"0","fixed":"4.0.2"}],"versions":["1.0.0","1.0.1","1.0.2","1.1.0","2.0.0","2.0.1","2.1.0","2.2.0","2.2.1","3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","4.0.0","4.0.1"],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2021-43177/","html_en":"/en/cve/CVE-2021-43177/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43177","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43177"},"untrusted":{"vendor_name":"Tinfoilsecurity","product_name":"Devise-two-factor","desc_en":"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)","affected":[{"untrusted_vendor":"Tinfoil","untrusted_product":"devise-two-factor","versions":[]}],"references":[{"url":"https://github.com/tinfoil/devise-two-factor/security/advisories/GHSA-jm35-h8q2-73mp","tags":["Third Party Advisory"]}]}}