Golang 1.24 < 1.24rc2 Multiple Vulnerabilities (macOS)

high Nessus Plugin ID 216075

Synopsis

An application installed on the remote macOS 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)

- cmd/go: GOAUTH credential leak due to improper domain segmentation. (CVE-2024-45340)

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

- crypto/x509: ParsePKCS1PrivateKey panic with partial keys (CVE-2025-22865)

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.24rc2 or later.

See Also

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

Plugin Details

Severity: High

ID: 216075

File Name: golang_macos_1_24_rc2.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: 6.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-45340

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-45340, CVE-2024-45341, CVE-2025-22865

IAVB: 2025-B-0013