Golang < 1.21.9, 1.22.x < 1.22.2 DoS

medium Nessus Plugin ID 192925

Synopsis

An application installed on the remote Windows host is affected by a denial of service vulnerability.

Description

The version of Golang running on the remote host is prior to 1.21.9 or 1.22.x prior to 1.22.2. It is, therefore, is affected by a denial of service vulnerability. When a request's headers exceed MaxHeaderBytes, memory is not allocated to store the excess headers yet they are still parsed. This permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of data, all associated with a request which is going to be rejected.

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.9, 1.22.2, or later.

See Also

https://pkg.go.dev/vuln/GO-2024-2687

http://www.nessus.org/u?9702dc38

Plugin Details

Severity: Medium

ID: 192925

File Name: golang_1_22_2.nasl

Version: 1.3

Type: local

Agent: windows

Family: Windows

Published: 4/4/2024

Updated: 5/10/2024

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.1

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2023-45288

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:golang:go

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/3/2024

Vulnerability Publication Date: 4/3/2024

Reference Information

CVE: CVE-2023-45288

IAVB: 2024-B-0032-S