Vulnerability in Devise-Two-Factor
CVE-2024-8796
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.006 (48.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 48.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Devise-Two-Factor — versions 4.0.0, 1.0.0
- Tinfoilsecurity Devise-Two-Factor — versions 1.0.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/devise-two-factor/devise-two-factor/security/advisories/GHSA-qjxf-mc… (vendor-advisory, Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2024-8796?
- CVE-2024-8796 is a medium-severity vulnerability in Devise-Two-Factor, classified under Insufficient Entropy. CVSS score: 5.3/10. Published 2024-09-17.
- How severe is CVE-2024-8796?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2024-8796 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.