FreeBSD : go -- archive/zip: overflow in preallocation check can cause OOM panic (4ea1082a-1259-11ec-b4fa-dd5a552bdd17)

high Nessus Plugin ID 153220

Language:

Synopsis

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

Description

The Go project reports :

An oversight in the previous fix still allows for an OOM panic when the indicated directory size in the archive header is so large that subtracting it from the archive size overflows a uint64, effectively bypassing the check that the number of files in the archive is reasonable.

Solution

Update the affected package.

See Also

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

http://www.nessus.org/u?3499ce51

Plugin Details

Severity: High

ID: 153220

File Name: freebsd_pkg_4ea1082a125911ecb4fadd5a552bdd17.nasl

Version: 1.4

Type: local

Published: 9/13/2021

Updated: 4/27/2022

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-39293

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

Vulnerability Publication Date: 8/18/2021

Reference Information

CVE: CVE-2021-39293

IAVB: 2021-B-0069-S