Golang 1.21.x < 1.21.1 RCE

critical Nessus Plugin ID 181473


An application installed on the remote Windows host is affected by a remote code execution vulnerability.


The version of Golang Go installed on the remote host is affected by a remote code execution vulnerability. The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the 'go' command was executed within the module. This applies to modules downloaded using the 'go' command from the module proxy, as well as modules downloaded directly using VCS software.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.


Upgrade to Golang Go version 1.21.1, or later.

See Also


Plugin Details

Severity: Critical

ID: 181473

File Name: golang_1_21_1_cve-2023-39320.nasl

Version: 1.4

Type: local

Agent: windows

Family: Windows

Published: 9/15/2023

Updated: 10/13/2023

Supported Sensors: Nessus Agent

Risk Information


Risk Factor: High

Score: 8.4


Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2023-39320


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: cpe:/a:golang:go

Required KB Items: SMB/Registry/Enumerated, installed_sw/Golang Go Programming Language

Exploit Ease: No known exploits are available

Patch Publication Date: 9/6/2023

Vulnerability Publication Date: 9/6/2023

Reference Information

CVE: CVE-2023-39320

IAVB: 2023-B-0068-S, 2023-B-0080