FreeBSD : go -- encoding/xml: infinite loop when using xml.NewTokenDecoder with a custom TokenReader; archive/zip: panic when calling Reader.Open (72709326-81f7-11eb-950a-00155d646401)

high Nessus Plugin ID 147697

Synopsis

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

Description

The Go project reports :

The Decode, DecodeElement, and Skip methods of an xml.Decoder provided by xml.NewTokenDecoder may enter an infinite loop when operating on a custom xml.TokenReader which returns an EOF in the middle of an open XML element.

The Reader.Open API, new in Go 1.16, will panic when used on a ZIP archive containing files that start with '../'.

Solution

Update the affected package.

See Also

http://golang.org/issue/44913

http://golang.org/issue/44916

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

Plugin Details

Severity: High

ID: 147697

File Name: freebsd_pkg_7270932681f711eb950a00155d646401.nasl

Version: 1.6

Type: local

Published: 3/11/2021

Updated: 8/23/2021

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-2021-27918

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: 3/10/2021

Vulnerability Publication Date: 3/5/2021

Reference Information

CVE: CVE-2021-27918, CVE-2021-27919

IAVB: 2021-B-0040-S