CVE-2018-16874 Details
Description
In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to directory traversal when executed with the import path of a malicious Go package which contains curly braces (both '{' and '}' characters). Specifically, it is only vulnerable in GOPATH mode, but not in module mode (the distinction is documented at https://golang.org/cmd/go/#hdr-Module_aware_go_get). The attacker can cause an arbitrary filesystem write, which can lead to code execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.10.6 >= 1.11.0, < 1.11.3 |
CPE
Remediation
| |
| opensuse backports sle | 15.0 - |
CPE
Remediation
| |
| opensuse leap | 15.0 15.1 42.3 |
CPE
Remediation
| |
| suse linux enterprise server | 12 - |
CPE
Remediation
| |
| debian debian linux | 9.0 |
CPE
Remediation
| |
Change History
17 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Mar 22, 2021 | Modified Analysis | [email protected] |
| Mar 13, 2021 | CVE Modified | [email protected] |
| Apr 26, 2020 | CVE Modified | [email protected] |
| Oct 9, 2019 | CVE Modified | [email protected] |
| Jul 14, 2019 | CVE Modified | [email protected] |
| Jun 3, 2019 | CVE Modified | [email protected] |
| Jun 3, 2019 | CVE Modified | [email protected] |
| May 27, 2019 | CVE Modified | [email protected] |
| Apr 16, 2019 | Modified Analysis | [email protected] |
| Mar 30, 2019 | CVE Modified | [email protected] |
| Feb 1, 2019 | Initial Analysis | [email protected] |
| Dec 22, 2018 | CVE Modified | [email protected] |
| Dec 19, 2018 | CVE Modified | [email protected] |