> CVE-2024-8796 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2024-09-17 18:15
MODIFIED
2024-09-30 14:10
CVSS_SCORE V3
5.3
EPSS (Prob. Exploit)
0.64%
Top 49.9%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-11

> 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.

> AFFECTED_PRODUCTS

Tinfoilsecurity - Devise Two Factor
>= 4.0.0 < 6.0.0
Tinfoilsecurity - Devise Two Factor
Version: 1.0.0

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-qjxf-mc72-wjr2 MODERATE

Devise-Two-Factor Authentication Uses Insufficient Default OTP Shared Secret Length

AFFECTED PACKAGES:
RUBYGEMS / devise-two-factor
= 1.0.0
RUBYGEMS / devise-two-factor
>= 4.0.0, < 6.0.0
Fixed in: 6.0.0

> HISTORIQUE DES MODIFICATIONS

Première apparition
17/09/2024 18:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:54
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME