Under the default configuration, Devise-Two-Factor versions >= 2.2.0 & < 6.0.0 generate TOTP shared secrets that are 120 bits instead of the 128-bit minimum defined by RFC 4226. Using a shared secret shorter than the minimum to generate a multi-factor authentication code could make it easier for an attacker to guess the shared secret and generate valid TOTP codes.
The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Devise-two-factor | Tinfoilsecurity | 4.0.0 (including) | 6.0.0 (excluding) |
Devise-two-factor | Tinfoilsecurity | 1.0.0 (including) | 1.0.0 (including) |
Ruby-devise-two-factor | Ubuntu | esm-apps/focal | * |
Ruby-devise-two-factor | Ubuntu | esm-apps/jammy | * |
Ruby-devise-two-factor | Ubuntu | esm-apps/xenial | * |
Ruby-devise-two-factor | Ubuntu | focal | * |
Ruby-devise-two-factor | Ubuntu | jammy | * |
Ruby-devise-two-factor | Ubuntu | upstream | * |