GLSA-201804-12 : Go: Arbitrary code execution

high Nessus Plugin ID 109056

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201804-12 (Go: Arbitrary code execution)

A vulnerability in Go was discovered which does not validate the import path of remote repositories.
Impact :

Remote attackers, by enticing a user to import from a crafted website, could execute arbitrary commands.
Workaround :

There is no known workaround at this time.

Solution

All Go users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-lang/go-1.10.1'

See Also

https://security.gentoo.org/glsa/201804-12

Plugin Details

Severity: High

ID: 109056

File Name: gentoo_GLSA-201804-12.nasl

Version: 1.3

Type: local

Published: 4/16/2018

Updated: 11/1/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2018-7187

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:go

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/15/2018

Reference Information

CVE: CVE-2018-7187

GLSA: 201804-12