1. Archivio CVE
  2. 2024
  3. CVE-2024-8796

CVE-2024-8796

5.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N 5.3 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
tinfoilsecurity devise-two-factor >= 4.0.0 < 6.0.0 –
tinfoilsecurity devise-two-factor 1.0.0 –

Tipo di vulnerabilità

CWE-331 Insufficient Entropy

The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi, Altro Aggirare i meccanismi di protezione, Altro

Come si previene

Sviluppo Determine the necessary entropy to adequately provide for randomness and predictability. This can be achieved by increasing the number of bits of objects such as keys and seeds.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 131 CVE di tipo CWE-331, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org