Security mailing lists by PureSourceCode

CVE-2021-43177

MEDIUM 5.3CVSS 3.1

Improper one time password handling in devise-two-factor

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
11 Apr 2022
Last modified
27 Aug 2026
Assigned by
disclosure@synopsys.com
NVD status
Modified
Weakness
CWE-254
Also known as
GHSA-jm35-h8q2-73mp
Sources
NVDJSONOSV GHSA-jm35-h8q2-73mpJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.5 AV:N/AC:M/Au:S/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD tinfoilsecurity devise-two-factor
cpe:2.3:a:tinfoilsecurity:devise-two-factor:*:*:*:*:*:*:*:*
< 4.0.2 4.0.2
OSV RubyGems devise-two-factor < 4.0.2 4.0.2

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Apr 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Apr 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.