1. Archivio CVE
  2. 2017
  3. CVE-2017-11671

CVE-2017-11671

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

Descrizione

Under certain circumstances, the ix86_expand_builtin function in i386.c in GNU Compiler Collection (GCC) version 4.6, 4.7, 4.8, 4.9, 5 before 5.5, and 6 before 6.4 will generate instruction sequences that clobber the status flag of the RDRAND and RDSEED intrinsics before it can be read, potentially causing failures of these instructions to go unreported. This could potentially lead to less randomness in random number generation.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
gnu gcc 4.6 –
gnu gcc 4.7 –
gnu gcc 4.8 –
gnu gcc 4.9 –
gnu gcc 5.0 –
gnu gcc 5.1 –
gnu gcc 5.2 –
gnu gcc 5.3 –
gnu gcc 5.4 –
gnu gcc 6.0 –
gnu gcc 6.1 –
gnu gcc 6.2 –
gnu gcc 6.3 –
Tutte le 14 vulnerabilità di Gnu Gcc

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