Upstream information

CVE-2023-29404 at MITRE

Description

The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having critical severity.

CVSS v3 Scores
  National Vulnerability Database
Base Score 9.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1

Note from the SUSE Security Team on the go1.* package

SUSE only supports the current and the previous GO language releases.

SUSE Bugzilla entry: 1212075 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container bci/golang:1.20-3.5
  • go1.20 >= 1.20.5-150000.1.14.1
SUSE Liberty Linux 8
  • delve >= 1.9.1-1.module+el8.8.0+16778+5fbb74f5
  • go-toolset >= 1.19.10-1.module+el8.8.0+19203+782922b7
  • golang >= 1.19.10-1.module+el8.8.0+19203+782922b7
  • golang-bin >= 1.19.10-1.module+el8.8.0+19203+782922b7
  • golang-docs >= 1.19.10-1.module+el8.8.0+19203+782922b7
  • golang-misc >= 1.19.10-1.module+el8.8.0+19203+782922b7
  • golang-race >= 1.19.10-1.module+el8.8.0+19203+782922b7
  • golang-src >= 1.19.10-1.module+el8.8.0+19203+782922b7
  • golang-tests >= 1.19.10-1.module+el8.8.0+19203+782922b7
Patchnames:
RHSA-2023:3922
SUSE Liberty Linux 9
  • go-toolset >= 1.19.10-1.el9_2
  • golang >= 1.19.10-1.el9_2
  • golang-bin >= 1.19.10-1.el9_2
  • golang-docs >= 1.19.10-1.el9_2
  • golang-misc >= 1.19.10-1.el9_2
  • golang-race >= 1.19.10-1.el9_2
  • golang-src >= 1.19.10-1.el9_2
  • golang-tests >= 1.19.10-1.el9_2
Patchnames:
RHSA-2023:3923
SUSE Linux Enterprise Desktop 15 SP4
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Development Tools 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • go1.19 >= 1.19.10-150000.1.34.1
  • go1.19-doc >= 1.19.10-150000.1.34.1
  • go1.19-race >= 1.19.10-150000.1.34.1
  • go1.20 >= 1.20.5-150000.1.14.1
  • go1.20-doc >= 1.20.5-150000.1.14.1
  • go1.20-race >= 1.20.5-150000.1.14.1
Patchnames:
SUSE-SLE-Module-Development-Tools-15-SP4-2023-2525
SUSE-SLE-Module-Development-Tools-15-SP4-2023-2526
SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Development Tools 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • go1.19 >= 1.19.10-150000.1.34.1
  • go1.19-doc >= 1.19.10-150000.1.34.1
  • go1.19-race >= 1.19.10-150000.1.34.1
  • go1.20 >= 1.20.5-150000.1.14.1
  • go1.20-doc >= 1.20.5-150000.1.14.1
  • go1.20-race >= 1.20.5-150000.1.14.1
Patchnames:
SUSE-SLE-Module-Development-Tools-15-SP5-2023-2525
SUSE-SLE-Module-Development-Tools-15-SP5-2023-2526
SUSE Linux Enterprise Desktop 15 SP6
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Module for Development Tools 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • go1.20-openssl >= 1.20.12.1-150000.1.17.1
  • go1.20-openssl-doc >= 1.20.12.1-150000.1.17.1
  • go1.20-openssl-race >= 1.20.12.1-150000.1.17.1
Patchnames:
SUSE Linux Enterprise Module for Development Tools 15 SP6 GA go1.20-openssl-1.20.12.1-150000.1.17.1
SUSE Linux Enterprise Real Time 15 SP3
  • go1.19 >= 1.19.10-150000.1.34.1
  • go1.19-doc >= 1.19.10-150000.1.34.1
  • go1.19-race >= 1.19.10-150000.1.34.1
  • go1.20 >= 1.20.5-150000.1.14.1
  • go1.20-doc >= 1.20.5-150000.1.14.1
  • go1.20-race >= 1.20.5-150000.1.14.1
Patchnames:
SUSE-SLE-Product-RT-15-SP3-2023-2525
SUSE-SLE-Product-RT-15-SP3-2023-2526
openSUSE Leap 15.4
  • go1.19 >= 1.19.10-150000.1.34.1
  • go1.19-doc >= 1.19.10-150000.1.34.1
  • go1.19-race >= 1.19.10-150000.1.34.1
  • go1.20 >= 1.20.5-150000.1.14.1
  • go1.20-doc >= 1.20.5-150000.1.14.1
  • go1.20-race >= 1.20.5-150000.1.14.1
Patchnames:
openSUSE-SLE-15.4-2023-2525
openSUSE-SLE-15.4-2023-2526
openSUSE Leap 15.5
  • go1.19 >= 1.19.10-150000.1.34.1
  • go1.19-doc >= 1.19.10-150000.1.34.1
  • go1.19-race >= 1.19.10-150000.1.34.1
  • go1.20 >= 1.20.5-150000.1.14.1
  • go1.20-doc >= 1.20.5-150000.1.14.1
  • go1.20-race >= 1.20.5-150000.1.14.1
Patchnames:
openSUSE-SLE-15.5-2023-2525
openSUSE-SLE-15.5-2023-2526
openSUSE Tumbleweed
  • go1.19 >= 1.19.10-1.1
  • go1.19-doc >= 1.19.10-1.1
  • go1.19-libstd >= 1.19.10-1.1
  • go1.19-race >= 1.19.10-1.1
  • go1.20 >= 1.20.5-1.1
  • go1.20-doc >= 1.20.5-1.1
  • go1.20-libstd >= 1.20.5-1.1
  • go1.20-race >= 1.20.5-1.1
Patchnames:
openSUSE-Tumbleweed-2024-12987
openSUSE-Tumbleweed-2024-12988


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP5 go Not affected
SUSE Linux Enterprise Desktop 15 SP5 go1.19 Released
SUSE Linux Enterprise Desktop 15 SP5 go1.20 Released
SUSE Linux Enterprise Desktop 15 SP6 go Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 go Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 go1.19 Released
SUSE Linux Enterprise High Performance Computing 15 SP5 go1.20 Released
SUSE Linux Enterprise High Performance Computing 15 SP6 go Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP5 go Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP5 go1.19 Released
SUSE Linux Enterprise Module for Development Tools 15 SP5 go1.20 Released
SUSE Linux Enterprise Module for Development Tools 15 SP6 go Not affected
SUSE Linux Enterprise Server 15 SP5 go Not affected
SUSE Linux Enterprise Server 15 SP5 go1.19 Released
SUSE Linux Enterprise Server 15 SP5 go1.20 Released
SUSE Linux Enterprise Server 15 SP6 go Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 go Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 go1.19 Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 go1.20 Released
SUSE Linux Enterprise Server for SAP Applications 15 SP6 go Not affected
SUSE Manager Proxy 4.3 go Not affected
SUSE Manager Proxy 4.3 go1.19 Released
SUSE Manager Proxy 4.3 go1.20 Released
SUSE Manager Retail Branch Server 4.3 go Not affected
SUSE Manager Retail Branch Server 4.3 go1.19 Released
SUSE Manager Retail Branch Server 4.3 go1.20 Released
SUSE Manager Server 4.3 go Not affected
SUSE Manager Server 4.3 go1.19 Released
SUSE Manager Server 4.3 go1.20 Released
openSUSE Leap 15.5 go Not affected
openSUSE Leap 15.5 go1.19 Released
openSUSE Leap 15.5 go1.20 Released
openSUSE Leap 15.6 go Not affected
openSUSE Leap 15.6 go1.19 Affected
openSUSE Leap 15.6 go1.20 Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 go Not affected
SUSE Linux Enterprise Desktop 15 SP4 go1.19 Released
SUSE Linux Enterprise Desktop 15 SP4 go1.20 Released
SUSE Linux Enterprise High Performance Computing 15 SP3 go Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 go1.19 Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS go Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS go1.19 Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS go Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS go1.19 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 go Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 go1.19 Released
SUSE Linux Enterprise High Performance Computing 15 SP4 go1.20 Released
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS go Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS go1.19 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS go1.20 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS go Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS go1.19 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS go1.20 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 go Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 go1.19 Affected
SUSE Linux Enterprise Module for Development Tools 15 SP4 go Not affected
SUSE Linux Enterprise Module for Development Tools 15 SP4 go1.19 Released
SUSE Linux Enterprise Module for Development Tools 15 SP4 go1.20 Released
SUSE Linux Enterprise Server 12 SP5 go1.20 Affected
SUSE Linux Enterprise Server 15 SP3 go Not affected
SUSE Linux Enterprise Server 15 SP3 go1.19 Affected
SUSE Linux Enterprise Server 15 SP3-LTSS go Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS go1.19 Affected
SUSE Linux Enterprise Server 15 SP4 go Not affected
SUSE Linux Enterprise Server 15 SP4 go1.19 Released
SUSE Linux Enterprise Server 15 SP4 go1.20 Released
SUSE Linux Enterprise Server 15 SP4-LTSS go Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS go1.19 Affected
SUSE Linux Enterprise Server 15 SP4-LTSS go1.20 Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 go1.20 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 go Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 go1.19 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 go Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 go1.19 Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 go1.20 Released
Products past their end of life and not receiving proactive updates anymore.
SUSE Enterprise Storage 7.1 go Not affected
SUSE Enterprise Storage 7.1 go1.19 Affected
SUSE Linux Enterprise Desktop 15 SP3 go Not affected
SUSE Linux Enterprise Desktop 15 SP3 go1.19 Affected
SUSE Linux Enterprise Real Time 15 SP3 go Not affected
SUSE Linux Enterprise Real Time 15 SP3 go1.19 Released
SUSE Linux Enterprise Real Time 15 SP3 go1.20 Released
SUSE Linux Enterprise Real Time 15 SP4 go Not affected
SUSE Linux Enterprise Real Time 15 SP4 go1.19 Affected
SUSE Linux Enterprise Real Time 15 SP4 go1.20 Affected
SUSE Linux Enterprise Server 15 SP3-BCL go Not affected
SUSE Linux Enterprise Server 15 SP3-BCL go1.19 Affected
SUSE Linux Enterprise Software Development Kit 12 SP5 go1.20 Affected
SUSE Manager Proxy 4.2 go Not affected
SUSE Manager Proxy 4.2 go1.19 Affected
SUSE Manager Retail Branch Server 4.2 go Not affected
SUSE Manager Retail Branch Server 4.2 go1.19 Affected
SUSE Manager Server 4.2 go Not affected
SUSE Manager Server 4.2 go1.19 Affected
openSUSE Leap 15.3 go Not affected
openSUSE Leap 15.3 go1.19 Affected
openSUSE Leap 15.4 go Not affected
openSUSE Leap 15.4 go1.19 Released
openSUSE Leap 15.4 go1.20 Released
Container Status
bci/golang:1.19 go1.19In progress
bci/golang go1.20Released


SUSE Timeline for this CVE

CVE page created: Tue Jun 6 23:30:26 2023
CVE page last modified: Sun Nov 17 12:44:53 2024