CVE-2024-8796CWE-331

Insufficient Default OTP Shared Secret Length

Medium · published September 17, 2024

CVSS v4.0
6.0
EPSS
1%
Percentile
50.1
In the wild
Unconfirmed
What it is

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 record
Technical detail
CVSS v4.0
6.0 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.00641 · 50.1th percentile
Weakness
CWE-331 · Insufficient Entropy
Published
2024-09-17T17:12Z
EPSS history
Timeline
  • 17 SEP 17:12Z
    Insufficient Default OTP Shared Secret Length
    cvelistv5