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.

Description

An update for go-toolset-7 and go-toolset-7-golang is now available for Red Hat Developer Tools.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

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)

Solution

Update the affected packages.

See Also

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

https://access.redhat.com/security/cve/cve-2017-15041

https://access.redhat.com/security/cve/cve-2017-15042

Plugin Details

Severity: Critical

ID: 105367

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

Version: 3.8

Type: local

Agent: unix

Published: 12/19/2017

Updated: 10/24/2019

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

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 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, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-build, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-dockerfiles, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-bin, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-docs, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-misc, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-race, 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-runtime, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-scldevel, cpe:/o:redhat:enterprise_linux:7

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

RHSA: 2017:3463