RHEL 7 : go-toolset-7 and go-toolset-7-golang (RHSA-2017:3463)

critical Nessus Plugin ID 105367

Synopsis

The remote Red Hat host is missing one or more security updates for go-toolset-7 / go-toolset-7-golang.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2017:3463 advisory.

Go Toolset provides the Go programming language tools and libraries. Go is alternatively known as golang.

Security Fix(es):

* An arbitrary command execution flaw was found in the way Go's go get command handled the checkout of source code repositories. A remote attacker capable of hosting malicious repositories could potentially use this flaw to cause arbitrary command execution on the client side. (CVE-2017-15041)

* It was found that smtp.PlainAuth authentication scheme in Go did not verify the TLS requirement properly. A remote man-in-the-middle attacker could potentially use this flaw to sniff SMTP credentials sent by a Go application. (CVE-2017-15042)

Bug Fix(es):

* Previously, the enable script for the go-toolset-7 Software Collection incorrectly set the GOPATH environment variable to a directory that required root permissions for write operations. As a consequence, the go compiler terminated unexpectedly when performing certain commands. The enable script has been changed to handle GOPATH correctly, and the described problem no longer occurs. (BZ#1512013)

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the RHEL go-toolset-7 / go-toolset-7-golang packages based on the guidance in RHSA-2017:3463.

See Also

http://www.nessus.org/u?3c1ca778

https://access.redhat.com/errata/RHSA-2017:3463

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=1498867

https://bugzilla.redhat.com/show_bug.cgi?id=1498870

Plugin Details

Severity: Critical

ID: 105367

File Name: redhat-RHSA-2017-3463.nasl

Version: 3.10

Type: local

Agent: unix

Published: 12/19/2017

Updated: 4/15/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2017-15041

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:go-toolset-7-runtime, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-dockerfiles, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-docs, p-cpe:/a:redhat:enterprise_linux:go-toolset-7, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-src, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-tests, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-bin, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-misc, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-build, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-race, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-scldevel

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 12/14/2017

Vulnerability Publication Date: 10/5/2017

Reference Information

CVE: CVE-2017-15041, CVE-2017-15042

CWE: 300

RHSA: 2017:3463