Executive Summary

Informations
NameCVE-2018-16873First vendor Publication2018-12-14
VendorCveLast vendor Modification2019-06-03

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score6.8Attack RangeNetwork
Cvss Impact Score6.4Attack ComplexityMedium
Cvss Expoit Score8.6AuthenticationNone Required
Calculate full CVSS 2.0 Vectors scores

Detail

In 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 the import path of a malicious Go package, or a package that imports it directly or indirectly. 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). Using custom domains, it's possible to arrange things so that a Git repository is cloned to a folder named ".git" by using a vanity import path that ends with "/.git". If the Git repository root contains a "HEAD" file, a "config" file, an "objects" directory, a "refs" directory, with some work to ensure the proper ordering of operations, "go get -u" can be tricked into considering the parent directory as a repository root, and running Git commands on it. That will use the "config" file in the original Git repository root for its configuration, and if that config file contains malicious commands, they will execute on the system running "go get -u".

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16873

CWE : Common Weakness Enumeration

%idName
100 %CWE-20Improper Input Validation

CPE : Common Platform Enumeration

TypeDescriptionCount
Application110
Os1

Nessus® Vulnerability Scanner

DateDescription
2019-01-11Name : The remote Fedora host is missing a security update.
File : fedora_2019-1198005e1f.nasl - Type : ACT_GATHER_INFO
2019-01-11Name : The remote Fedora host is missing a security update.
File : fedora_2019-c424e3bb72.nasl - Type : ACT_GATHER_INFO
2018-12-24Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201812-09.nasl - Type : ACT_GATHER_INFO
2018-12-17Name : The remote Amazon Linux AMI host is missing a security update.
File : ala_ALAS-2018-1130.nasl - Type : ACT_GATHER_INFO

Sources (Detail)

SourceUrl
BID http://www.securityfocus.com/bid/106226
CONFIRM https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16873
GENTOO https://security.gentoo.org/glsa/201812-09
MISC https://groups.google.com/forum/?pli=1#!topic/golang-announce/Kw31K8G7Fi0
SUSE http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00044.html
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00060.html
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00011.html
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00015.html

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
DateInformations
2019-06-04 00:19:03
  • Multiple Updates
2019-06-03 21:19:18
  • Multiple Updates
2019-05-27 17:19:20
  • Multiple Updates
2019-04-19 21:19:26
  • Multiple Updates
2019-04-17 00:19:09
  • Multiple Updates
2019-03-30 09:19:23
  • Multiple Updates
2019-02-06 17:19:16
  • Multiple Updates
2018-12-22 17:19:18
  • Multiple Updates
2018-12-18 17:19:08
  • Multiple Updates
2018-12-14 17:19:15
  • First insertion