Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

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

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.

URLSource(s)Tag(s)
http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00044.html CVEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00060.html CVEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00011.html CVEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00015.html CVEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00010.html CVEMailing ListThird Party Advisory

see all 24 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-20Improper Input Validation[email protected]
CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')[email protected]

Affected Products

ProductVersions
golang go
< 1.10.6
>= 1.11.0, < 1.11.3

CPE

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
opensuse backports sle
15.0 -

CPE

  • cpe:2.3:a:opensuse:backports_sle:15.0:-:*:*:*:*:*:*

Remediation

  • No remediation found in references.
opensuse leap
15.0
15.1
42.3

CPE

  • cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
  • cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
  • cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
suse linux enterprise server
12 -

CPE

  • cpe:2.3:o:suse:linux_enterprise_server:12:-:*:*:*:*:*:*

Remediation

  • No remediation found in references.
debian debian linux
9.0

CPE

  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

17 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2018-16874
NVD Published Date:
Dec 14, 2018
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2018-16874 Details - Not Deferred