golang: arbitrary code execution during "go get" via C compiler options
Published Feb 7, 2018
7.8
HIGHCVSS 3.0
EPSS 7.63%
Description
Go before 1.8.7, Go 1.9.x before 1.9.4, and Go 1.10 pre-releases before Go 1.10rc2 allow "go get" remote command execution during source code build, by leveraging the gcc or clang plugin feature, because -fplugin= and -plugin= arguments were not blocked.
Affected products
No data.
Configuration 1
Configuration 2
- 9.0
Configuration 3
- 7.0
- 7.6
- 7.6
- 7.6
No data.
Red Hat Developer Tools
go-toolset-7-0:1.8-14.el7
Fixed · RHSA-2018:1304
Red Hat Developer Tools
go-toolset-7-golang-0:1.8.7-2.el7
Fixed · RHSA-2018:1304
Red Hat Enterprise Linux 7
golang-0:1.9.4-1.el7
Fixed · RHSA-2018:0878
Red Hat Ceph Storage 2
golang
Not affected
Red Hat Ceph Storage 3
golang
Not affected
Red Hat OpenShift Enterprise 3
golang
Will not fix
Red Hat OpenStack Platform 8 (Liberty) Operational Tools
golang
Will not fix
Red Hat OpenStack Platform 9 (Mitaka) Operational Tools
golang
Will not fix
Red Hat Storage 3
golang
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Developer Tools | go-toolset-7-0:1.8-14.el7 | Fixed | RHSA-2018:1304 |
| Red Hat Developer Tools | go-toolset-7-golang-0:1.8.7-2.el7 | Fixed | RHSA-2018:1304 |
| Red Hat Enterprise Linux 7 | golang-0:1.9.4-1.el7 | Fixed | RHSA-2018:0878 |
| Red Hat Ceph Storage 2 | golang | Not affected | n/a |
| Red Hat Ceph Storage 3 | golang | Not affected | n/a |
| Red Hat OpenShift Enterprise 3 | golang | Will not fix | n/a |
| Red Hat OpenStack Platform 8 (Liberty) Operational Tools | golang | Will not fix | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) Operational Tools | golang | Will not fix | n/a |
| Red Hat Storage 3 | golang | Not affected | n/a |
toolchain
Go
Introduced 0 Fixed 1.8.7toolchain
Go
Introduced 1.9.0-0 Fixed 1.9.4
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | toolchain | 0 | 1.8.7 |
| Go | toolchain | 1.9.0-0 | 1.9.4 |
Remediation
Red Hat statement
This issue affects the versions of golang as shipped with Red Hat OpenShift Enterprise 3. Red Hat Product Security has rated this issue as having security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (32 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 7.63% (0.07625) | 94.38th | v5 (v2026.06.15) |
| Jun 15, 2026 | 7.89% (0.07888) | 93.94th | v5 (v2026.06.15) |
| Mar 12, 2026 | 36.79% (0.36789) | 97.08th | v4 (v2025.03.14) |
| Feb 18, 2026 | 34.98% (0.34983) | 96.92th | v4 (v2025.03.14) |
| Nov 21, 2025 | 36.79% (0.36789) | 96.96th | v4 (v2025.03.14) |
| Nov 18, 2025 | 34.41% (0.34414) | 96.76th | v4 (v2025.03.14) |
| Nov 5, 2025 | 36.79% (0.36789) | 96.95th | v4 (v2025.03.14) |
| Oct 14, 2025 | 34.98% (0.34983) | 96.81th | v4 (v2025.03.14) |
| Oct 2, 2025 | 31.64% (0.31635) | 96.66th | v4 (v2025.03.14) |
| Jul 26, 2025 | 33.38% (0.33377) | 96.72th | v4 (v2025.03.14) |
| Jul 16, 2025 | 30.90% (0.30905) | 96.51th | v4 (v2025.03.14) |
| Jun 15, 2025 | 29.27% (0.29271) | 96.33th | v4 (v2025.03.14) |
| Mar 29, 2025 | 30.95% (0.30955) | 94.86th | v4 (v2025.03.14) |
| Mar 28, 2025 | 29.27% (0.29271) | 96.18th | v4 (v2025.03.14) |
| Mar 17, 2025 | 31.51% (0.31511) | 96.39th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.08% (0.02082) | 88.78th | v3 (v2023.03.01) |
| Jun 24, 2024 | 3.17% (0.03167) | 91.19th | v3 (v2023.03.01) |
| Feb 23, 2024 | 1.64% (0.01641) | 87.17th | v3 (v2023.03.01) |
| Jan 18, 2024 | 1.60% (0.01605) | 86.08th | v3 (v2023.03.01) |
| Dec 18, 2023 | 0.93% (0.00930) | 81.20th | v3 (v2023.03.01) |
| Nov 23, 2023 | 0.73% (0.00725) | 78.50th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.71% (0.00709) | 78.15th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.45% (0.00453) | 72.06th | v3 (v2023.03.01) |
| Jul 22, 2023 | 0.32% (0.00319) | 66.56th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.30% (0.00299) | 64.59th | v3 (v2023.03.01) |
| Mar 6, 2023 | 23.67% (0.23668) | 96.71th | v2 (v2022.01.01) |
| Nov 4, 2022 | 23.67% (0.23668) | 96.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 25.69% (0.25691) | 95.57th | v2 (v2022.01.01) |
| Feb 3, 2022 | 14.38% (0.14378) | 89.65th | v1 |
| Jan 6, 2022 | 14.38% (0.14378) | 89.53th | v1 |
| Sep 1, 2021 | 14.38% (0.14378) | 96.97th | v1 |
| Apr 14, 2021 | 14.38% (0.14378) | 0.00th | v1 |
References (11)
- https://access.redhat.com/errata/RHSA-2018:0878 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1304 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-6574 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1543561 Issue Tracking
- https://github.com/KINGSABRI/CVE-in-Ruby/tree/master/CVE-2018-6574 x_refsource_MISCExploitThird Party Advisory
- https://github.com/golang/go/issues/23672 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://groups.google.com/forum/#%21topic/golang-nuts/Gbhh1NxAjMU x_refsource_CONFIRM
- https://groups.google.com/forum/#%21topic/golang-nuts/sprOaQ5m3Dk x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2018-6574
- https://www.cve.org/CVERecord?id=CVE-2018-6574
- https://www.debian.org/security/2019/dsa-4380 vendor-advisoryx_refsource_DEBIANThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2018:0878 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/errata/RHSA-2018:1304 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2018-6574 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1543561 | Issue Tracking | |
| https://github.com/KINGSABRI/CVE-in-Ruby/tree/master/CVE-2018-6574 | x_refsource_MISCExploitThird Party Advisory | |
| https://github.com/golang/go/issues/23672 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://groups.google.com/forum/#%21topic/golang-nuts/Gbhh1NxAjMU | x_refsource_CONFIRM | |
| https://groups.google.com/forum/#%21topic/golang-nuts/sprOaQ5m3Dk | x_refsource_CONFIRM | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-6574 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-6574 | ||
| https://www.debian.org/security/2019/dsa-4380 | vendor-advisoryx_refsource_DEBIANThird Party Advisory |
Change history (0)
No recorded changes yet.