Code Injection in Go programming language - CVE-2023-29405

 

Code Injection in Go programming language - CVE-2023-29405

Published: June 19, 2023


Vulnerability identifier: #VU77531
CSH Severity: Medium
CVSS v4 BT: 6.9 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID: CVE-2023-29405
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists within Go runtime when running "go get" on a malicious module, or when running any other
command which builds untrusted code.A remote attacker can inject and execute arbitrary code on the target system at build time when using cgo.

Affected software

Go programming language
Gentoo Linux
Oracle Linux
Amazon Linux AMI
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
Fedora
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Development Tools Module
openSUSE Leap
Ubuntu
openEuler
IBM Observability with Instana
IBM Cloud Pak for Business Automation
IBM MQ Operator
IBM Cloud Transformation Advisor
IBM Cloud Pak for Data Scheduling
IBM Watson Discovery for IBM Cloud Pak for Data
Automation Assets in IBM Cloud Pak for Integration (CP4I)
Operations Dashboard
Storage Ceph
Db2 Rest
ObjectScale
IBM Planning Analytics Workspace
Storage Copy Data Management
Cloud Pak for Network Automation
IBM Cloud Pak for Watson AIOps
DB2 on Cloud Pak for Data
DB2 Warehouse on Cloud Pak for Data
Storage Protect Server
IBM supplied MQ Advanced container images
Storage Protect Plus Container Agent
Dell PowerProtect Cyber Recovery
Robotic Process Automation for Cloud Pak
Platform Navigator in IBM Cloud Pak for Integration (CP4I)
Splunk Enterprise
golang-1.18 (Ubuntu package)
golang-1.18-go (Ubuntu package)
golang-1.18-src (Ubuntu package)
delve
golang
golang-help
golang-devel
golang-1.17 (Ubuntu package)
golang-1.17-go (Ubuntu package)
golang-1.17-src (Ubuntu package)
go-toolset
go-toolset-1.19-golang (Red Hat package)
go-toolset-1.19 (Red Hat package)
go-toolset (Red Hat package)
golang (Red Hat package)
golang-docs
golang-src
golang-tests
golang-bin
golang-race
golang-misc
go1.19-race
go1.19-doc
go1.19
go1.20-race
go1.20-debuginfo
go1.20
go1.20-doc
dev-lang/go
Dell Data Lakehouse
Event Streams
Dell EMC Container Storage Modules
IBM Cloud Pak System
Red Hat Ceph Storage
Operational Decision Manager
IBM CICS TX Advanced
IBM CICS TX Standard

How to mitigate CVE-2023-29405

Install updates from vendor's website.

Go programming language - addressed in versions 1.19.10, 1.20.5
Splunk Enterprise - addressed in versions 8.2.12, 9.0.6, 9.0.8, 9.1.1, 9.1.3
IBM Cloud Pak for Business Automation - addressed in versions 21.0.3.26, 23.0.1.4
golang-1.18 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.18.1-1ubuntu1.2, 1.18.1-1ubuntu1~20.04.3
golang-1.18-go (Ubuntu package) - addressed in versions Ubuntu Pro, 1.18.1-1ubuntu1.2, 1.18.1-1ubuntu1~20.04.3
golang-1.18-src (Ubuntu package) - addressed in versions Ubuntu Pro, 1.18.1-1ubuntu1.2, 1.18.1-1ubuntu1~20.04.3
Db2 Rest - update to 1.0.0.291
Dell Data Lakehouse - update to 1.4.0.0
ObjectScale - update to 1.4.0
Dell EMC Container Storage Modules - update to 1.7.1
delve - update to 1.9.1-1.0.1
golang - addressed in versions 1.15.7-28, 1.17.3-20
golang-help - addressed in versions 1.15.7-28, 1.17.3-20
golang-devel - addressed in versions 1.15.7-28, 1.17.3-20
golang-1.17 (Ubuntu package) - update to 1.17.13-3ubuntu1.2
golang-1.17-go (Ubuntu package) - update to 1.17.13-3ubuntu1.2
golang-1.17-src (Ubuntu package) - update to 1.17.13-3ubuntu1.2
go-toolset - update to 1.19.10-1
golang - addressed in versions 1.19.10-1.el7, 1.19.11-1.fc37, 1.19.12-1.fc37, 1.20.6-1.fc38
go-toolset-1.19-golang (Red Hat package) - update to 1.19.10-1.el7_9
go-toolset-1.19 (Red Hat package) - update to 1.19.10-1.el7_9
go-toolset (Red Hat package) - update to 1.19.10-1.el9_2
golang (Red Hat package) - update to 1.19.10-1.el9_2
golang-docs - update to 1.19.10-1.0.1
golang-src - update to 1.19.10-1.0.1
golang-tests - update to 1.19.10-1.0.1
golang - update to 1.19.10-1.0.1
golang-bin - update to 1.19.10-1.0.1
golang-race - update to 1.19.10-1.0.1
golang-misc - update to 1.19.10-1.0.1
go1.19-race - update to 1.19.10-150000.1.34.1
go1.19-doc - update to 1.19.10-150000.1.34.1
go1.19 - update to 1.19.10-150000.1.34.1
golang - update to 1.20.5-1
go1.20-race - update to 1.20.5-150000.1.14.1
go1.20-debuginfo - update to 1.20.5-150000.1.14.1
go1.20 - update to 1.20.5-150000.1.14.1
go1.20-doc - update to 1.20.5-150000.1.14.1
dev-lang/go - update to 1.20.10
IBM MQ Operator - addressed in versions 2.0.13, 2.4.2
IBM Planning Analytics Workspace - update to 2.0.91
Storage Copy Data Management - update to 2.2.20.1
IBM Cloud Pak System - update to 2.3.3.6 iFix 1
Cloud Pak for Network Automation - update to 2.6.2
IBM Cloud Transformation Advisor - update to 3.7.0
IBM Cloud Pak for Watson AIOps - update to 4.2.0
IBM Cloud Pak for Data Scheduling - update to 4.8
DB2 on Cloud Pak for Data - update to 4.8.2
DB2 Warehouse on Cloud Pak for Data - update to 4.8.2
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.8.2
Red Hat Ceph Storage - update to 5.3
Storage Protect Server - update to 8.1.20
Operational Decision Manager - addressed in versions 8.10.5.1 Interim fix 49, 8.11.0.1 Interim fix 26, 8.12.0 Interim fix 8
IBM supplied MQ Advanced container images - update to 9.3.0.10-r1
Storage Protect Plus Container Agent - update to 10.1.12.6
IBM CICS TX Advanced - update to 11.1.0.0 ifix13
IBM CICS TX Standard - update to 11.1.0.0 ifix13
Event Streams - update to 11.2.1
Dell PowerProtect Cyber Recovery - update to 19.14.0.2
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.11, 23.0.12
Automation Assets in IBM Cloud Pak for Integration (CP4I) - update to 2022.2.1-10
Platform Navigator in IBM Cloud Pak for Integration (CP4I) - addressed in versions 2022.2.1-11, 2023.2.1-1
Operations Dashboard - update to 2022.2.1-13-lts

External References

Related Security Bulletins