CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2018-16874

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.
Publish Date : 2018-12-14 Last Update Date : 2021-03-22
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute CodeDirectory traversal
CWE ID 20

- Products Affected By CVE-2018-16874

# Product Type Vendor Product Version Update Edition Language
1 OS Debian Debian Linux 9.0 * * * Version Details Vulnerabilities
2 Application Golang GO * * * * Version Details Vulnerabilities
3 Application Opensuse Backports Sle 15.0 - * * Version Details Vulnerabilities
4 OS Opensuse Leap 15.0 * * * Version Details Vulnerabilities
5 OS Opensuse Leap 15.1 * * * Version Details Vulnerabilities
6 OS Opensuse Leap 42.3 * * * Version Details Vulnerabilities
7 OS Suse Linux Enterprise Server 12 - * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Debian Debian Linux 1
Golang GO 1
Opensuse Backports Sle 1
Opensuse Leap 3
Suse Linux Enterprise Server 1

- References For CVE-2018-16874

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16874 CONFIRM
http://www.securityfocus.com/bid/106228
BID 106228 Golang Go CVE-2018-16874 Directory Traversal Vulnerability Release Date:2018-12-14
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00011.html
SUSE openSUSE-SU-2019:1499
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00015.html
SUSE openSUSE-SU-2019:1506
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00060.html
SUSE openSUSE-SU-2019:1444
https://groups.google.com/forum/?pli=1#!topic/golang-announce/Kw31K8G7Fi0
http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00044.html
SUSE openSUSE-SU-2019:1079
https://security.gentoo.org/glsa/201812-09
GENTOO GLSA-201812-09
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00010.html
SUSE openSUSE-SU-2019:1703
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00041.html
SUSE openSUSE-SU-2020:0554
https://lists.debian.org/debian-lts-announce/2021/03/msg00015.html
MLIST [debian-lts-announce] 20210313 [SECURITY] [DLA 2592-1] golang-1.8 security update
https://lists.debian.org/debian-lts-announce/2021/03/msg00014.html
MLIST [debian-lts-announce] 20210313 [SECURITY] [DLA 2591-1] golang-1.7 security update

- Metasploit Modules Related To CVE-2018-16874

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.