Debian DLA-1294-1 : golang security update

high Nessus Plugin ID 106985

Synopsis

The remote Debian host is missing a security update.

Description

It was discovered that there was an arbitrary command execution vulnerability in the Go programming language.

The 'go get' implementation did not correctly validate 'import path' statements for '://' which allowed remote attackers to execute arbitrary OS commands via a crafted website.

For Debian 7 'Wheezy', this issue has been fixed in golang version 2:1.0.2-1.1+deb7u3.

We recommend that you upgrade your golang packages. The Debian LTS team would like to thank Abhijith PA for preparing this update.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html

https://packages.debian.org/source/wheezy/golang

Plugin Details

Severity: High

ID: 106985

File Name: debian_DLA-1294.nasl

Version: 3.5

Type: local

Agent: unix

Published: 2/26/2018

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:7.0, p-cpe:/a:debian:debian_linux:golang, p-cpe:/a:debian:debian_linux:golang-src, p-cpe:/a:debian:debian_linux:kate-syntax-go, p-cpe:/a:debian:debian_linux:golang-mode, p-cpe:/a:debian:debian_linux:golang-dbg, p-cpe:/a:debian:debian_linux:golang-go, p-cpe:/a:debian:debian_linux:golang-doc, p-cpe:/a:debian:debian_linux:vim-syntax-go

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 2/25/2018

Reference Information

CVE: CVE-2018-7187