1. Archivio CVE
  2. 2012
  3. CVE-2012-6124

CVE-2012-6124

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

Descrizione

A casting error in Chicken before 4.8.0 on 64-bit platform caused the random number generator to return a constant value. NOTE: the vendor states "This function wasn't used for security purposes (and is advertised as being unsuitable)."

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
call-cc chicken < 4.8.0 –
Tutte le 18 vulnerabilità di Call-cc Chicken

Tipo di vulnerabilità

CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione

Come si previene

Sviluppo Use functions or hardware which use a hardware-based random number generation for all crypto. This is the recommended solution. Use CyptGenRandom on Windows, or hw_rand() on Linux.

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

Tutte le 218 CVE di tipo CWE-338, con andamento e prevenzione

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