RHEL 9 : go-toolset and golang (RHSA-2023:3923)

critical Nessus Plugin ID 177768

Synopsis

The remote Red Hat host is missing one or more security updates for go-toolset / golang.

Description

The remote Redhat Enterprise Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2023:3923 advisory.

- golang: cmd/go: go command may generate unexpected code at build time when using cgo (CVE-2023-29402)

- golang: runtime: unexpected behavior of setuid/setgid binaries (CVE-2023-29403)

- golang: cmd/go: go command may execute arbitrary code at build time when using cgo (CVE-2023-29404)

- golang: cmd/cgo: Arbitrary code execution triggered by linker flags (CVE-2023-29405)

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

Solution

Update the RHEL go-toolset / golang packages based on the guidance in RHSA-2023:3923.

See Also

http://www.nessus.org/u?daaf636c

https://access.redhat.com/security/updates/classification/#critical

https://bugzilla.redhat.com/show_bug.cgi?id=2216965

https://bugzilla.redhat.com/show_bug.cgi?id=2217562

https://bugzilla.redhat.com/show_bug.cgi?id=2217565

https://bugzilla.redhat.com/show_bug.cgi?id=2217569

https://access.redhat.com/errata/RHSA-2023:3923

Plugin Details

Severity: Critical

ID: 177768

File Name: redhat-RHSA-2023-3923.nasl

Version: 1.5

Type: local

Agent: unix

Published: 6/29/2023

Updated: 4/28/2024

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

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-2023-29405

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:/o:redhat:enterprise_linux:9, p-cpe:/a:redhat:enterprise_linux:go-toolset, p-cpe:/a:redhat:enterprise_linux:golang, p-cpe:/a:redhat:enterprise_linux:golang-bin, p-cpe:/a:redhat:enterprise_linux:golang-docs, p-cpe:/a:redhat:enterprise_linux:golang-misc, p-cpe:/a:redhat:enterprise_linux:golang-race, p-cpe:/a:redhat:enterprise_linux:golang-src, p-cpe:/a:redhat:enterprise_linux:golang-tests

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 6/29/2023

Vulnerability Publication Date: 6/8/2023

Reference Information

CVE: CVE-2023-29402, CVE-2023-29403, CVE-2023-29404, CVE-2023-29405

CWE: 668, 74, 94

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

RHSA: 2023:3923