devise-two-factor vulnerabilities

Devise-Two-Factor is a minimalist extension to Devise which offers support for two-factor authentication through the TOTP scheme.

Registry
RubyGems
Latest
6.4.1
License
MIT

3 known advisories

The latest version, 6.4.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative devise-two-factor # Gemfile: '>= 6.4.1'

Is your project on an affected devise-two-factor?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for devise-two-factor

  • MediumCVE-2024-8796GHSA-qjxf-mc72-wjr217 Sept 2024

    Devise-Two-Factor Authentication Uses Insufficient Default OTP Shared Secret Length

    Affected
    >=4.0.0 <6.0.0 · 1.0.0
    Fixed in
    6.0.0
  • MediumCVE-2021-43177GHSA-jm35-h8q2-73mp7 Apr 2022

    Improper one time password handling in devise-two-factor

    Affected
    <4.0.2
    Fixed in
    4.0.2
  • MediumCVE-2015-7225GHSA-x489-jjwm-52g728 Aug 2018

    Tinfoil Devise-two-factor does not "burn" a successfully validated one-time password (OTP)

    Affected
    <2.0.0
    Fixed in
    2.0.0

Is your devise-two-factor version vulnerable?

Which of your client projects still run an old devise-two-factor?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.