Golang 1.22 < 1.22.11 / 1.23 < 1.23.5 Multiple Vulnerabilities (macOS)

high Nessus Plugin ID 216076

Synopsis

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

Description

The version of Golang running on the remote host is 1.24 prior to 1.24rc2. It is, therefore, is affected by multiple vulnerabilities:

- net/http: Sensitive headers are incorrectly sent after cross-domain redirect (CVE-2024-45336)

- crypto/x509: usage of IPv6 zone IDs can bypass URI name constraints (CVE-2024-45341)

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.22.11, 1.23.5, or later.

See Also

https://groups.google.com/g/golang-announce/c/sSaUhLA-2SI?pli=1

Plugin Details

Severity: High

ID: 216076

File Name: golang_macos_1_23_5.nasl

Version: 1.1

Type: local

Agent: macosx

Published: 2/11/2025

Updated: 2/11/2025

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.7

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

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

CVSS Score Source: CVE-2024-45336

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:H/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: installed_sw/Golang Go Programming Language, Host/MacOSX/Version

Excluded KB Items: SMB/Registry/Enumerated

Exploit Ease: No known exploits are available

Patch Publication Date: 1/16/2025

Vulnerability Publication Date: 1/16/2025

Reference Information

CVE: CVE-2024-45336, CVE-2024-45341

IAVB: 2025-B-0010