Skip to content
Noroxi
CVE-2018-6574· NVD / CVE Program· CNA mitre

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 cod

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.

HighCVSS 7.8 · v3.0—Proof of concept Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help
Published
Feb 7, 2018
Updated
Jun 16, 2026
EPSS
7.6% · 94th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

33

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 7.6%

Affected systems

VendorProduct
golanggo
debiandebian linux
redhatenterprise linux server
redhatenterprise linux server aus
redhatenterprise linux server eus
redhatenterprise linux server tus

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux9.0
  • golang goup to 1.8.6 inclusive
  • golang go1.10
  • golang go1.9
  • golang go1.9.1
  • golang go1.9.2
  • golang go1.9.3
  • redhat enterprise linux server7.0
  • redhat enterprise linux server aus7.6
  • redhat enterprise linux server eus7.6
  • redhat enterprise linux server tus7.6

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:9golang-1.8before 1.8.1-1+deb9u11.8.1-1+deb9u1
Gotoolchainfrom 1.9.0-0 · before 1.9.41.9.4
Gotoolchainbefore 1.8.71.8.7
openSUSE:Tumbleweedgobefore 1.17-1.11.17-1.1
openSUSE:Tumbleweedgo1.10before 1.10.8-8.21.10.8-8.2
openSUSE:Tumbleweedgo1.11before 1.11.13-10.51.11.13-10.5
openSUSE:Tumbleweedgo1.12before 1.12.17-4.81.12.17-4.8
openSUSE:Tumbleweedgo1.9before 1.9.7-11.21.9.7-11.2
Red Hat:devtools:2018go-toolset-7before 0:1.8-14.el70:1.8-14.el7
Red Hat:devtools:2018go-toolset-7-buildbefore 0:1.8-14.el70:1.8-14.el7
Red Hat:devtools:2018go-toolset-7-golangbefore 0:1.8.7-2.el70:1.8.7-2.el7
Red Hat:devtools:2018go-toolset-7-golang-binbefore 0:1.8.7-2.el70:1.8.7-2.el7
Red Hat:devtools:2018go-toolset-7-golang-docsbefore 0:1.8.7-2.el70:1.8.7-2.el7
Red Hat:devtools:2018go-toolset-7-golang-miscbefore 0:1.8.7-2.el70:1.8.7-2.el7
Red Hat:devtools:2018go-toolset-7-golang-racebefore 0:1.8.7-2.el70:1.8.7-2.el7
Red Hat:devtools:2018go-toolset-7-golang-srcbefore 0:1.8.7-2.el70:1.8.7-2.el7
Red Hat:devtools:2018go-toolset-7-golang-testsbefore 0:1.8.7-2.el70:1.8.7-2.el7
Red Hat:devtools:2018go-toolset-7-runtimebefore 0:1.8-14.el70:1.8-14.el7
Red Hat:devtools:2018go-toolset-7-scldevelbefore 0:1.8-14.el70:1.8-14.el7
Red Hat:enterprise_linux:7::servergolangbefore 0:1.9.4-1.el70:1.9.4-1.el7
Red Hat:enterprise_linux:7::servergolang-binbefore 0:1.9.4-1.el70:1.9.4-1.el7
Red Hat:enterprise_linux:7::servergolang-docsbefore 0:1.9.4-1.el70:1.9.4-1.el7
Red Hat:enterprise_linux:7::servergolang-miscbefore 0:1.9.4-1.el70:1.9.4-1.el7
Red Hat:enterprise_linux:7::servergolang-srcbefore 0:1.9.4-1.el70:1.9.4-1.el7

+4

Other highest-scoring records for the same primary product.

  • CVE-2018-7187The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only
    54Plan
  • CVE-2018-16873In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag and
    52Plan
  • CVE-2021-38297Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a function invocation from a WASM module, when GOARCH
    42Plan
  • CVE-2019-14809net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization bypass in some applica
    42Plan
  • CVE-2015-5739The net/http library in net/textproto/reader.go in Go before 1.4.3 does not properly parse HTTP header keys, which allows remote attackers t
    42Plan
  • CVE-2017-15041Go before 1.8.4 and 1.9.x before 1.9.1 allows "go get" remote command execution.
    42Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:golang-1.81.8.1-1+deb9u1 · Debian:9Package registry (OSV)
Go:toolchain1.8.7Package registry (OSV)
Go:toolchain1.9.4Package registry (OSV)
opensuse:go1.17-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:go1.101.10.8-8.2 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:go1.111.11.13-10.5 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:go1.121.12.17-4.8 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:go1.91.9.7-11.2 · openSUSE:TumbleweedPackage registry (OSV)
red hat:go-toolset-70:1.8-14.el7 · Red Hat:devtools:2018Package registry (OSV)
red hat:go-toolset-7-build0:1.8-14.el7 · Red Hat:devtools:2018Package registry (OSV)
red hat:go-toolset-7-golang0:1.8.7-2.el7 · Red Hat:devtools:2018Package registry (OSV)
red hat:go-toolset-7-golang-bin0:1.8.7-2.el7 · Red Hat:devtools:2018Package registry (OSV)
red hat:go-toolset-7-golang-docs0:1.8.7-2.el7 · Red Hat:devtools:2018Package registry (OSV)
red hat:go-toolset-7-golang-misc0:1.8.7-2.el7 · Red Hat:devtools:2018Package registry (OSV)
red hat:golang0:1.9.4-1.el7 · Red Hat:enterprise_linux:7::serverPackage registry (OSV)
red hat:golang-bin0:1.9.4-1.el7 · Red Hat:enterprise_linux:7::serverPackage registry (OSV)
red hat:golang-docs0:1.9.4-1.el7 · Red Hat:enterprise_linux:7::serverPackage registry (OSV)
red hat:golang-misc0:1.9.4-1.el7 · Red Hat:enterprise_linux:7::serverPackage registry (OSV)
red hat:golang-src0:1.9.4-1.el7 · Red Hat:enterprise_linux:7::serverPackage registry (OSV)
red hat:golang-tests0:1.9.4-1.el7 · Red Hat:enterprise_linux:7::serverPackage registry (OSV)
suse:go1.9.4-15.1 · SUSE:Package Hub 12Package registry (OSV)
suse:go1.81.8.7-5.1 · SUSE:Package Hub 12Package registry (OSV)
suse:go1.91.9.4-5.1 · SUSE:Package Hub 12Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×50

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02018-04-02
Proof-of-concept repository on GitHubstars:242018-04-24
Proof-of-concept repository on GitHubstars:12018-05-17
Proof-of-concept repository on GitHubstars:02018-05-20
Proof-of-concept repository on GitHubstars:02018-05-20
Proof-of-concept repository on GitHubstars:02018-11-01
Proof-of-concept repository on GitHubstars:02018-12-16
Proof-of-concept repository on GitHubstars:02018-12-25
Proof-of-concept repository on GitHubstars:02018-12-30
Proof-of-concept repository on GitHubstars:02019-01-10
Proof-of-concept repository on GitHubstars:02019-01-18
Proof-of-concept repository on GitHubstars:02019-04-08

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+53 d
  3. TodaySep 30, 2026+3157 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records