Go before 1.8.4 and 1.9.x before 1.9.1 allows "go get" remote command execution.
Go before 1.8.4 and 1.9.x before 1.9.1 allows "go get" remote command execution. Using custom domains, it is possible to arrange things so that example.com/pkg1 points to a Subversion repository but example.com/pkg1/pkg2 points to a Git repository. If the Subversion repository includes a Git checkout in its pkg2 directory and some other work is done to ensure the proper ordering of operations, "go get" can be tricked into reusing this Git checkout for the fetch of code from pkg2. If the Subversion repository's Git checkout has malicious commands in .git/hooks/, they will execute on the system running "go get."
- Published
- Oct 5, 2017
- Updated
- Jun 16, 2026
- EPSS
- 8.9% · 95th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
42
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 8.9%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| golang | go | cpe:2.3:a:golang:go |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | developer tools | cpe:2.3:a:redhat:developer_tools |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux tus | cpe:2.3:o:redhat:enterprise_linux_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.3 inclusive
- golang go1.9
- redhat developer tools1.0
- redhat enterprise linux eus7.6
- redhat enterprise linux eus7.7
- redhat enterprise linux server7.0
- redhat enterprise linux server aus7.6
- redhat enterprise linux server aus7.7
- redhat enterprise linux tus7.6
- redhat enterprise linux tus7.7
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:7 | golang | before 2:1.0.2-1.1+deb7u2 | 2:1.0.2-1.1+deb7u2 |
| Debian:9 | golang-1.7 | before 1.7.4-2+deb9u3 | 1.7.4-2+deb9u3 |
| Debian:9 | golang-1.8 | before 1.8.1-1+deb9u3 | 1.8.1-1+deb9u3 |
| Go | toolchain | from 1.9.0-0 · before 1.9.1 | 1.9.1 |
| Go | toolchain | before 1.8.4 | 1.8.4 |
| openSUSE:Tumbleweed | go | before 1.17-1.1 | 1.17-1.1 |
| openSUSE:Tumbleweed | go1.10 | before 1.10.8-8.2 | 1.10.8-8.2 |
| openSUSE:Tumbleweed | go1.11 | before 1.11.13-10.5 | 1.11.13-10.5 |
| openSUSE:Tumbleweed | go1.12 | before 1.12.17-4.8 | 1.12.17-4.8 |
| openSUSE:Tumbleweed | go1.4 | before 1.4.3-12.2 | 1.4.3-12.2 |
| openSUSE:Tumbleweed | go1.9 | before 1.9.7-11.2 | 1.9.7-11.2 |
| Red Hat:devtools:2::el7 | go-toolset-7 | before 0:1.8-10.el7 | 0:1.8-10.el7 |
| Red Hat:devtools:2::el7 | go-toolset-7-build | before 0:1.8-10.el7 | 0:1.8-10.el7 |
| Red Hat:devtools:2::el7 | go-toolset-7-dockerfiles | before 0:1.8-10.el7 | 0:1.8-10.el7 |
| Red Hat:devtools:2::el7 | go-toolset-7-golang | before 0:1.8.5-1.el7 | 0:1.8.5-1.el7 |
| Red Hat:devtools:2::el7 | go-toolset-7-golang-bin | before 0:1.8.5-1.el7 | 0:1.8.5-1.el7 |
| Red Hat:devtools:2::el7 | go-toolset-7-golang-docs | before 0:1.8.5-1.el7 | 0:1.8.5-1.el7 |
| Red Hat:devtools:2::el7 | go-toolset-7-golang-misc | before 0:1.8.5-1.el7 | 0:1.8.5-1.el7 |
| Red Hat:devtools:2::el7 | go-toolset-7-golang-race | before 0:1.8.5-1.el7 | 0:1.8.5-1.el7 |
| Red Hat:devtools:2::el7 | go-toolset-7-golang-src | before 0:1.8.5-1.el7 | 0:1.8.5-1.el7 |
| Red Hat:devtools:2::el7 | go-toolset-7-golang-tests | before 0:1.8.5-1.el7 | 0:1.8.5-1.el7 |
| Red Hat:devtools:2::el7 | go-toolset-7-runtime | before 0:1.8-10.el7 | 0:1.8-10.el7 |
| Red Hat:devtools:2::el7 | go-toolset-7-scldevel | before 0:1.8-10.el7 | 0:1.8-10.el7 |
| Red Hat:enterprise_linux:7::server | golang | before 0:1.9.4-1.el7 | 0:1.9.4-1.el7 |
+5
Same product
golang: all recordsOther 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 and52Plan
- 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 GOARCH42Plan
- 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 applica42Plan
- 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 t42Plan
- CVE-2025-68121Unexpected session resumption in crypto/tls40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Debian:golang | 2:1.0.2-1.1+deb7u2 · Debian:7 | Package registry (OSV) |
| Debian:golang-1.7 | 1.7.4-2+deb9u3 · Debian:9 | Package registry (OSV) |
| Debian:golang-1.8 | 1.8.1-1+deb9u3 · Debian:9 | Package registry (OSV) |
| Go:toolchain | 1.8.4 | Package registry (OSV) |
| Go:toolchain | 1.9.1 | Package registry (OSV) |
| openSUSE:go | 1.17-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| openSUSE:go1.10 | 1.10.8-8.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| openSUSE:go1.11 | 1.11.13-10.5 · openSUSE:Tumbleweed | Package registry (OSV) |
| openSUSE:go1.12 | 1.12.17-4.8 · openSUSE:Tumbleweed | Package registry (OSV) |
| openSUSE:go1.4 | 1.4.3-12.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| openSUSE:go1.9 | 1.9.7-11.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| Red Hat:go-toolset-7 | 0:1.8-10.el7 · Red Hat:devtools:2::el7 | Package registry (OSV) |
| Red Hat:go-toolset-7-build | 0:1.8-10.el7 · Red Hat:devtools:2::el7 | Package registry (OSV) |
| Red Hat:go-toolset-7-dockerfiles | 0:1.8-10.el7 · Red Hat:devtools:2::el7 | Package registry (OSV) |
| Red Hat:go-toolset-7-golang | 0:1.8.5-1.el7 · Red Hat:devtools:2::el7 | Package registry (OSV) |
| Red Hat:go-toolset-7-golang-bin | 0:1.8.5-1.el7 · Red Hat:devtools:2::el7 | Package registry (OSV) |
| Red Hat:go-toolset-7-golang-docs | 0:1.8.5-1.el7 · Red Hat:devtools:2::el7 | Package registry (OSV) |
| Red Hat:go-toolset-7-golang-misc | 0:1.8.5-1.el7 · Red Hat:devtools:2::el7 | Package registry (OSV) |
| Red Hat:go-toolset-7-golang-race | 0:1.8.5-1.el7 · Red Hat:devtools:2::el7 | Package registry (OSV) |
| Red Hat:go-toolset-7-golang-src | 0:1.8.5-1.el7 · Red Hat:devtools:2::el7 | Package registry (OSV) |
| Red Hat:go-toolset-7-golang-tests | 0:1.8.5-1.el7 · Red Hat:devtools:2::el7 | Package registry (OSV) |
| Red Hat:go-toolset-7-runtime | 0:1.8-10.el7 · Red Hat:devtools:2::el7 | Package registry (OSV) |
| Red Hat:go-toolset-7-scldevel | 0:1.8-10.el7 · Red Hat:devtools:2::el7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
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.
No dated events beyond publication.
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.
Credits
All researchersFinders, 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
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- 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
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; 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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.securityfocus.com/bid/101196
- access.redhat.com/errata/RHSA-2017:3463
- access.redhat.com/errata/RHSA-2018:0878
- github.com/golang/go/issues/22125
- golang.org/cl/68022
- golang.org/cl/68190
- groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJ
- lists.debian.org/debian-lts-announce/2021/03/msg00014.html
- lists.debian.org/debian-lts-announce/2021/03/msg00015.html
- security.gentoo.org/glsa/201710-23
Vendor advisories and official records. Exploit/PoC links are deliberately left out.