FreeBSD : go -- misc/wasm, cmd/link: do not let command line arguments overwrite global data (4fce9635-28c0-11ec-9ba8-002324b2fba8)

critical Nessus Plugin ID 153982

Language:

Synopsis

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

Description

The Go project reports :

When invoking functions from WASM modules, built using GOARCH=wasm GOOS=js, passing very large arguments can cause portions of the module to be overwritten with data from the arguments.

If using wasm_exec.js to execute WASM modules, users will need to replace their copy after rebuilding any modules.

Solution

Update the affected package.

See Also

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

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

Plugin Details

Severity: Critical

ID: 153982

File Name: freebsd_pkg_4fce963528c011ec9ba8002324b2fba8.nasl

Version: 1.5

Type: local

Published: 10/11/2021

Updated: 4/27/2022

Supported Sensors: 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 Score Source: CVE-2021-38297

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

Vulnerability Publication Date: 10/6/2021

Reference Information

CVE: CVE-2021-38297

IAVB: 2021-B-0069-S