Under certain circumstances, the ix86_expand_builtin function in i386.c in GNU Compiler…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gnu:gcc:4.6:*:*:*:*:*:*:* | 4.6 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gcc:4.7:*:*:*:*:*:*:* | 4.7 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gcc:4.8:*:*:*:*:*:*:* | 4.8 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gcc:4.9:*:*:*:*:*:*:* | 4.9 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gcc:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gcc:5.1:*:*:*:*:*:*:* | 5.1 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gcc:5.2:*:*:*:*:*:*:* | 5.2 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gcc:5.3:*:*:*:*:*:*:* | 5.3 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gcc:5.4:*:*:*:*:*:*:* | 5.4 | Vulnerable | GNU |
| cpe:2.3:a:gnu:gcc:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | GNU |
- cpe:2.3:a:gnu:gcc:4.6:*:*:*:*:*:*:* Versions 4.6 Vulnerable ·GNU
- cpe:2.3:a:gnu:gcc:4.7:*:*:*:*:*:*:* Versions 4.7 Vulnerable ·GNU
- cpe:2.3:a:gnu:gcc:4.8:*:*:*:*:*:*:* Versions 4.8 Vulnerable ·GNU
- cpe:2.3:a:gnu:gcc:4.9:*:*:*:*:*:*:* Versions 4.9 Vulnerable ·GNU
- cpe:2.3:a:gnu:gcc:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·GNU
- cpe:2.3:a:gnu:gcc:5.1:*:*:*:*:*:*:* Versions 5.1 Vulnerable ·GNU
- cpe:2.3:a:gnu:gcc:5.2:*:*:*:*:*:*:* Versions 5.2 Vulnerable ·GNU
- cpe:2.3:a:gnu:gcc:5.3:*:*:*:*:*:*:* Versions 5.3 Vulnerable ·GNU
- cpe:2.3:a:gnu:gcc:5.4:*:*:*:*:*:*:* Versions 5.4 Vulnerable ·GNU
- cpe:2.3:a:gnu:gcc:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·GNU
Remediation
Red Hat 1 advisory
- RHSA-2018:0849 Released 2018-04-10 · Red Hat rating Lowgcc security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) cpp-4.8.5-28.el7, gcc-4.8.5-28.el7, libatomic-4.8.5-28.el7 +6
- Red Hat Enterprise Linux Client Optional (v. 7) gcc-c++-4.8.5-28.el7, gcc-gfortran-4.8.5-28.el7, gcc-gnat-4.8.5-28.el7 +27
- Red Hat Enterprise Linux ComputeNode (v. 7) cpp-4.8.5-28.el7, gcc-4.8.5-28.el7, gcc-gfortran-4.8.5-28.el7 +8
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) gcc-c++-4.8.5-28.el7, gcc-gnat-4.8.5-28.el7, gcc-go-4.8.5-28.el7 +25
- Red Hat Enterprise Linux Server (v. 7) cpp-4.8.5-28.el7, gcc-4.8.5-28.el7, gcc-c++-4.8.5-28.el7 +31
- Red Hat Enterprise Linux Server Optional (v. 7) gcc-go-4.8.5-28.el7, gcc-plugin-devel-4.8.5-28.el7, libasan-4.8.5-28.el7 +26
- Red Hat Enterprise Linux Workstation (v. 7) cpp-4.8.5-28.el7, gcc-4.8.5-28.el7, gcc-c++-4.8.5-28.el7 +19
- Red Hat Enterprise Linux Workstation Optional (v. 7) gcc-go-4.8.5-28.el7, gcc-plugin-devel-4.8.5-28.el7, libasan-4.8.5-28.el7 +14
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) cpp-4.8.5-28.el7, gcc-4.8.5-28.el7, gcc-c++-4.8.5-28.el7 +17
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) gcc-go-4.8.5-28.el7, gcc-plugin-devel-4.8.5-28.el7, libgfortran-static-4.8.5-28.el7 +9
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2018:0849 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2018:0849 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2018:0849 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2018:0849 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:0849 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2018:0849 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:0849 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2018:0849 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2018:0849 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2018:0849 |
Not affected: 3 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2017-11671
- 2026-10-03 Alias added: GHSA-9qgp-g97v-qq69
References
More GNU Gcc vulnerabilities
- TI-2023-03747 GCC's-fstack-protector fails to guard dynamically-sized local variables on AArch64 CVSS 3.1MEDIUM 4.8
- TI-2018-09258 stack_protect_prologue in cfgexpand.c and stack_protect_epilogue in function.c in GNU… CVSS 3.0HIGH 8.1
- TI-2019-11913 The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize… CVSS 3.1HIGH 7.5
- TI-2008-01316 gcc 4.3.x does not generate a cld instruction while compiling functions used for string… CVSS 2.0HIGH 7.5
- TI-2021-15306 GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c. CVSS 3.1HIGH 7.8
- TI-2000-01207 The -ftrapv compiler option in gcc and g++ 3.3.3 and earlier does not handle all types of… CVSS 2.0HIGH 7.5
Sources
- CVE-2017-11671 · CVE Program
- CVE-2017-11671 · NVD
- FIRST EPSS
- GHSA-9qgp-g97v-qq69 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-11671 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences