RHEL 7 : go-toolset-1.19-golang (RHSA-2024:1041)

high Nessus Plugin ID 191431

Synopsis

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

Description

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

- A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the network than are in the body. A malicious HTTP client can further exploit this to cause a server to automatically read a large amount of data (up to about 1GiB) when a handler fails to read the entire body of a request. Chunk extensions are a little-used HTTP feature which permit including additional metadata in a request or response body sent using the chunked encoding. The net/http chunked encoding reader discards this metadata. A sender can exploit this by inserting a large metadata segment with each byte transferred. The chunk reader now produces an error if the ratio of real body to encoded bytes grows too small. (CVE-2023-39326)

- Using go get to fetch a module with the .git suffix may unexpectedly fallback to the insecure git:// protocol if the module is unavailable via the secure https:// and git+ssh:// protocols, even if GOINSECURE is not set for said module. This only affects users who are not using the module proxy and are fetching modules directly (i.e. GOPROXY=off). (CVE-2023-45285)

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-1.19-golang package based on the guidance in RHSA-2024:1041.

See Also

https://access.redhat.com/security/cve/CVE-2023-39326

https://access.redhat.com/security/cve/CVE-2023-45285

https://access.redhat.com/errata/RHSA-2024:1041

Plugin Details

Severity: High

ID: 191431

File Name: redhat-RHSA-2024-1041.nasl

Version: 1.0

Type: local

Agent: unix

Published: 2/29/2024

Updated: 2/29/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2023-45285

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:go-toolset-1.19-golang, p-cpe:/a:redhat:enterprise_linux:go-toolset-1.19-golang-bin, p-cpe:/a:redhat:enterprise_linux:go-toolset-1.19-golang-docs, p-cpe:/a:redhat:enterprise_linux:go-toolset-1.19-golang-misc, p-cpe:/a:redhat:enterprise_linux:go-toolset-1.19-golang-race, p-cpe:/a:redhat:enterprise_linux:go-toolset-1.19-golang-src, p-cpe:/a:redhat:enterprise_linux:go-toolset-1.19-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: 2/29/2024

Vulnerability Publication Date: 12/6/2023

Reference Information

CVE: CVE-2023-39326, CVE-2023-45285

CWE: 400, 693

RHSA: 2024:1041