// For flags

CVE-2017-11671

gcc: GCC generates incorrect code for RDRAND/RDSEED intrinsics

Severity Score

4.0
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Bajo ciertas circunstancias, la función ix86_expand_builtin en el archivo i386.c en GNU Compiler Collection (GCC) versiones 4.6, 4.7, 4.8, 4.9, versión 5 anterior a 5.5 y versión 6 anterior a 6.4, generará secuencias de instrucciones que marcarán el flag status de los intrínsecos RDRAND y RDSEED antes de que se pueda leer, es posible que no se denuncien los fallos de estas instrucciones. Esto podría potencialmente conllevar a una menor aleatoriedad en la generación de números aleatorios.

*Credits: N/A
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
Attack Vector
Local
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2017-07-26 CVE Reserved
  • 2017-07-26 CVE Published
  • 2023-03-07 EPSS Updated
  • 2024-08-05 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
4.6
Search vendor "Gnu" for product "Gcc" and version "4.6"
-
Affected
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
4.7
Search vendor "Gnu" for product "Gcc" and version "4.7"
-
Affected
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
4.8
Search vendor "Gnu" for product "Gcc" and version "4.8"
-
Affected
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
4.9
Search vendor "Gnu" for product "Gcc" and version "4.9"
-
Affected
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
5.0
Search vendor "Gnu" for product "Gcc" and version "5.0"
-
Affected
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
5.1
Search vendor "Gnu" for product "Gcc" and version "5.1"
-
Affected
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
5.2
Search vendor "Gnu" for product "Gcc" and version "5.2"
-
Affected
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
5.3
Search vendor "Gnu" for product "Gcc" and version "5.3"
-
Affected
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
5.4
Search vendor "Gnu" for product "Gcc" and version "5.4"
-
Affected
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
6.0
Search vendor "Gnu" for product "Gcc" and version "6.0"
-
Affected
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
6.1
Search vendor "Gnu" for product "Gcc" and version "6.1"
-
Affected
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
6.2
Search vendor "Gnu" for product "Gcc" and version "6.2"
-
Affected
Gnu
Search vendor "Gnu"
Gcc
Search vendor "Gnu" for product "Gcc"
6.3
Search vendor "Gnu" for product "Gcc" and version "6.3"
-
Affected