FreeBSD : go -- encoding/binary: ReadUvarint and ReadVarint can read an unlimited number of bytes from invalid inputs (bc7aff8c-d806-11ea-a5aa-0800272260e5)

high Nessus Plugin ID 139395

Language:

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

The Go project reports :

Certain invalid inputs to ReadUvarint or ReadVarint could cause those functions to read an unlimited number of bytes from the ByteReader argument before returning an error. This could lead to processing more input than expected when the caller is reading directly from the network and depends on ReadUvarint and ReadVarint only consuming a small, bounded number of bytes, even from invalid inputs.

Solution

Update the affected package.

See Also

http://www.nessus.org/u?f4c91d70

https://github.com/golang/go/issues/40618

Plugin Details

Severity: High

ID: 139395

File Name: freebsd_pkg_bc7aff8cd80611eaa5aa0800272260e5.nasl

Version: 1.5

Type: local

Published: 8/7/2020

Updated: 12/4/2020

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2020-16845

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:go, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 8/6/2020

Vulnerability Publication Date: 8/6/2020

Reference Information

CVE: CVE-2020-16845

IAVB: 2020-B-0060-S