CVE-2024-8796

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.

Risk Information

Base Score
5.3
MODERATE
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS Score
Exploitation Probability
0.321

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2024-8796 are fixed in Ruby-devise-two-factor 6.0.0Windows
Vulnerabilities CVE-2024-8796 are affected in Ruby-devise-two-factor 1.0.0Windows
Vulnerabilities CVE-2024-8796 are fixed in Ruby-devise-two-factor for Linux 6.0.0Linux
Vulnerabilities CVE-2024-8796 are affected in Ruby-devise-two-factor for Linux 1.0.0Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234