Golang < 1.21.11, 1.22.x < 1.22.4 Multiple Vulnerabilities

critical Nessus Plugin ID 200209

Synopsis

An application installed on the remote Windows host is affected by multiple vulnerabilities.

Description

The version of Golang running on the remote host is prior to 1.21.11 or 1.22.x prior to 1.22.4. It is, therefore, is affected by multiple vulnerabilities:

- archive/zip: mishandling of corrupt central directory record allows for the insertion of code and contents depending on the implementation reading the file

- Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses (CVE-2024-24790)

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

Solution

Upgrade to Golang Go version 1.21.11, 1.22.4, or later.

See Also

https://groups.google.com/g/golang-announce/c/XbxouI9gY7k

Plugin Details

Severity: Critical

ID: 200209

File Name: golang_1_22_4.nasl

Version: 1.4

Type: local

Agent: windows

Family: Windows

Published: 6/7/2024

Updated: 9/13/2024

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

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-2024-24790

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: 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: 6/4/2024

Vulnerability Publication Date: 6/4/2024

Reference Information

CVE: CVE-2024-24789, CVE-2024-24790

IAVB: 2024-B-0071-S