7.8
HIGH CVSS 3.0
CVE-2018-6574
Go Unauthenticated Remote Command Execution Vulnerability
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.

INFO

Published Date :

Feb. 7, 2018, 9:29 p.m.

Last Modified :

Nov. 21, 2024, 4:10 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2018-6574 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_server
2 Redhat enterprise_linux_server_aus
3 Redhat enterprise_linux_server_eus
4 Redhat enterprise_linux_server_tus
1 Debian debian_linux
1 Golang go
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 HIGH [email protected]
Solution
This vulnerability is addressed by updating the Go packages on the affected systems.
  • Update the affected golang packages.
  • Update your system's golang packages.
  • Upgrade to Go version 1.9.4 or later.
Public PoC/Exploit Available at Github

CVE-2018-6574 has a 108 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-6574 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-6574 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

POC of CVE-2018-6574 to solve Pentestlab challenge

C Go

Updated: 5 days, 5 hours ago
0 stars 0 fork 0 watcher
Born at : Aug. 14, 2025, 2:39 p.m. This repo has been linked 1 different CVEs too.

Golang cgo exploit for CVE-2018-6574

C Go

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : July 2, 2025, 1:36 a.m. This repo has been linked 1 different CVEs too.

OrangeBadge - Exercise CVE-2018-6574: go get RCE

C Go

Updated: 5 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : March 7, 2025, 1:24 p.m. This repo has been linked 1 different CVEs too.

None

HTML Python Shell

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 13, 2025, 8:50 a.m. This repo has been linked 891 different CVEs too.

None

C Go

Updated: 11 months ago
0 stars 0 fork 0 watcher
Born at : Sept. 16, 2024, 7:34 p.m. This repo has been linked 1 different CVEs too.

None

C Go

Updated: 11 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Sept. 9, 2024, 1:11 p.m. This repo has been linked 1 different CVEs too.

CVE-2018-6574: go get

C Go

Updated: 11 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Sept. 5, 2024, 2:27 p.m. This repo has been linked 1 different CVEs too.

None

C Go

Updated: 11 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Sept. 4, 2024, 6:55 a.m. This repo has been linked 1 different CVEs too.

pentesterlab

C Go

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : July 7, 2024, 2:05 p.m. This repo has been linked 1 different CVEs too.

A POC to demonstrate CVE-2018-6574

C Go

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : July 5, 2024, 5:06 p.m. This repo has been linked 1 different CVEs too.

None

C Go

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : July 5, 2024, 6:48 a.m. This repo has been linked 1 different CVEs too.

None

C Go

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : June 18, 2024, 10:33 p.m. This repo has been linked 1 different CVEs too.

CVE-2018-6574-go-get-RCE

Go

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : May 17, 2024, 5:30 p.m. This repo has been linked 1 different CVEs too.

None

HTML Go C

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : April 20, 2024, 3:02 p.m. This repo has been linked 1 different CVEs too.

None

C

Updated: 1 year, 5 months ago
0 stars 0 fork 0 watcher
Born at : March 18, 2024, 5:34 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-6574 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-6574 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:0878
    Added Reference https://access.redhat.com/errata/RHSA-2018:1304
    Added Reference https://github.com/golang/go/issues/23672
    Added Reference https://github.com/KINGSABRI/CVE-in-Ruby/tree/master/CVE-2018-6574
    Added Reference https://groups.google.com/forum/#%21topic/golang-nuts/Gbhh1NxAjMU
    Added Reference https://groups.google.com/forum/#%21topic/golang-nuts/sprOaQ5m3Dk
    Added Reference https://www.debian.org/security/2019/dsa-4380
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://groups.google.com/forum/#%21topic/golang-nuts/sprOaQ5m3Dk [No types assigned]
    Added Reference MITRE https://groups.google.com/forum/#%21topic/golang-nuts/Gbhh1NxAjMU [No types assigned]
    Removed Reference MITRE https://groups.google.com/forum/#!topic/golang-nuts/sprOaQ5m3Dk
    Removed Reference MITRE https://groups.google.com/forum/#!topic/golang-nuts/Gbhh1NxAjMU
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-284 CWE-94
  • Modified Analysis by [email protected]

    Mar. 01, 2019

    Action Type Old Value New Value
    Changed CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P) (AV:L/AC:L/Au:N/C:P/I:P/A:P)
    Changed CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0878 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0878 Third Party Advisory
    Changed Reference Type https://github.com/KINGSABRI/CVE-in-Ruby/tree/master/CVE-2018-6574 No Types Assigned https://github.com/KINGSABRI/CVE-in-Ruby/tree/master/CVE-2018-6574 Exploit, Third Party Advisory
    Changed Reference Type https://groups.google.com/forum/#!topic/golang-nuts/Gbhh1NxAjMU No Types Assigned https://groups.google.com/forum/#!topic/golang-nuts/Gbhh1NxAjMU Mailing List, Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1304 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1304 Third Party Advisory
    Changed Reference Type https://groups.google.com/forum/#!topic/golang-nuts/sprOaQ5m3Dk No Types Assigned https://groups.google.com/forum/#!topic/golang-nuts/sprOaQ5m3Dk Mailing List, Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2019/dsa-4380 No Types Assigned https://www.debian.org/security/2019/dsa-4380 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Feb. 02, 2019

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2019/dsa-4380 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 13, 2018

    Action Type Old Value New Value
    Removed Reference https://groups.google.com/forum/#%21topic/golang-nuts/sprOaQ5m3Dk [Issue Tracking, Vendor Advisory]
    Removed Reference https://groups.google.com/forum/#%21topic/golang-nuts/Gbhh1NxAjMU [Issue Tracking, Vendor Advisory]
    Added Reference https://groups.google.com/forum/#!topic/golang-nuts/sprOaQ5m3Dk [No Types Assigned]
    Added Reference https://groups.google.com/forum/#!topic/golang-nuts/Gbhh1NxAjMU [No Types Assigned]
  • CVE Modified by [email protected]

    May. 04, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:1304 [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 12, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:0878 [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 05, 2018

    Action Type Old Value New Value
    Added Reference https://github.com/KINGSABRI/CVE-in-Ruby/tree/master/CVE-2018-6574 [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 13, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/golang/go/issues/23672 No Types Assigned https://github.com/golang/go/issues/23672 Issue Tracking, Third Party Advisory
    Changed Reference Type https://groups.google.com/forum/#%21topic/golang-nuts/sprOaQ5m3Dk No Types Assigned https://groups.google.com/forum/#%21topic/golang-nuts/sprOaQ5m3Dk Issue Tracking, Vendor Advisory
    Changed Reference Type https://groups.google.com/forum/#%21topic/golang-nuts/Gbhh1NxAjMU No Types Assigned https://groups.google.com/forum/#%21topic/golang-nuts/Gbhh1NxAjMU Issue Tracking, Vendor Advisory
    Added CWE CWE-284
    Added CPE Configuration OR *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions up to (including) 1.8.6 *cpe:2.3:a:golang:go:1.9:*:*:*:*:*:*:* *cpe:2.3:a:golang:go:1.9.1:*:*:*:*:*:*:* *cpe:2.3:a:golang:go:1.9.2:*:*:*:*:*:*:* *cpe:2.3:a:golang:go:1.9.3:*:*:*:*:*:*:* *cpe:2.3:a:golang:go:1.10:beta1:*:*:*:*:*:* *cpe:2.3:a:golang:go:1.10:beta2:*:*:*:*:*:* *cpe:2.3:a:golang:go:1.10:rc1:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4.6
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

33.95 }} 0.57%

score

0.96817

percentile