Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Tinfoilsecurity | Devise-Two-Factor | >= 4.0.0, < 6.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/devise-two-factor/devise-two-factor/security/advisories/GHSA-MitigationVendor Advisory
FAQ
What is CVE-2024-8796?
CVE-2024-8796 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 ...
How severe is CVE-2024-8796?
CVE-2024-8796 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-8796?
Check the references section above for vendor advisories and patch information. Affected products include: Tinfoilsecurity Devise-Two-Factor.