Code Injection in Go programming language - CVE-2023-29402
Published: June 19, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation within the cgo go command when building code that contains directories with newline characters in their names. A remote attacker can pass specially crafted input to the cgo command at build time and potentially compromise the system.
Modules which are retrieved using the go command, i.e. via "go get", are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected).
Affected software
Oracle Linux
Amazon Linux AMI
Gentoo Linux
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
Fedora
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
Development Tools Module
openSUSE Leap
Ubuntu
openEuler
Splunk Enterprise
IBM Cloud Pak for Business Automation
IBM MQ Operator
IBM Cloud Transformation Advisor
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
IBM Cloud Pak for Data Scheduling
IBM Watson Discovery for IBM Cloud Pak for Data
App Connect Enterprise Certified Container
Automation Assets in IBM Cloud Pak for Integration (CP4I)
Operations Dashboard
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 (Red Hat package)
go-toolset-1.19-golang (Red Hat package)
go-toolset (Red Hat package)
golang (Red Hat package)
golang-src
golang-tests
golang-misc
golang-bin
golang-race
golang-docs
go1.19-race
go1.19-doc
go1.19
go1.20-race
go1.20-debuginfo
go1.20
go1.20-doc
dev-lang/go
Db2 Rest
ObjectScale
IBM Planning Analytics Workspace
Storage Copy Data Management
Cloud Pak for Network Automation
IBM Cloud Pak for Watson AIOps
DB2 Warehouse on Cloud Pak for Data
DB2 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)
Dell Data Lakehouse
Event Streams
Dell EMC Container Storage Modules
IBM Cloud Pak System
Red Hat Ceph Storage
Operational Decision Manager
IBM CICS TX Standard
IBM CICS TX Advanced
How to mitigate CVE-2023-29402
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 - update to 1.15.7-28
golang-help - update to 1.15.7-28
golang-devel - update to 1.15.7-28
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
golang - addressed in versions 1.18.6-1.45, 1.20.5-1
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 (Red Hat package) - update to 1.19.10-1.el7_9
go-toolset-1.19-golang (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-src - update to 1.19.10-1.0.1
golang-tests - update to 1.19.10-1.0.1
golang-misc - 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-docs - 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
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 Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.7.3
IBM Cloud Pak for Data Scheduling - update to 4.8
DB2 Warehouse on Cloud Pak for Data - update to 4.8.2
DB2 on Cloud Pak for Data - update to 4.8.2
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.8.2
App Connect Enterprise Certified Container - addressed in versions 5.0.9, 9.1.0
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 Standard - update to 11.1.0.0 ifix13
IBM CICS TX Advanced - 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
- Multiple vulnerabilities in Go programming language
- SUSE update for go1.20
- SUSE update for go1.19
- Red Hat Developer Tools update for go-toolset-1.19 and go-toolset-1.19-golang
- Red Hat Enterprise Linux 8 update for the go-toolset:rhel8 module
- Red Hat Enterprise Linux 9 update for go-toolset and golang
- Amazon Linux AMI update for golang
- Multiple vulnerabilities in Oracle Linux
- Multiple vulnerabilities in IBM Spectrum Copy Data Management
- Code Injection in IBM App Connect Enterprise Certified Container
- Multiple vulnerabilities in IBM Event Streams
- Multiple vulnerabilities in IBM Spectrum Protect Plus Container
- Multiple vulnerabilities in Dell PowerProtect Cyber Recovery
- Multiple vulnerabilities in Dell Container Storage Modules
- Fedora EPEL 7 update for golang
- Fedora 38 update for golang
- Fedora 37 update for golang
- Fedora 37 update for golang
- Multiple vulnerabilities in IBM MQ Operator
- Splunk Enterprise update for third-party packages
- Multiple vulnerabilities in Platform Navigator and Automation Assets in IBM Cloud Pak for Integration
- Multiple vulnerabilities in IBM Operations Dashboard
- Multiple vulnerabilities in IBM CICS TX Advanced
- Multiple vulnerabilities in IBM CICS TX Standard
- Multiple vulnerabilities in IBM Storage Protect Server
- Multiple vulnerabilities in IBM Cloud Transformation Advisor
- Multiple vulnerabilities in IBM Cloud Pak for Network Automation
- Multiple vulnerabilities in IBM Db2 Rest
- Code injection in IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
- Multiple vulnerabilities in IBM Cloud Pak for Watson AIOps
- Multiple vulnerabilities in IBM Cloud Pak System
- Multiple vulnerabilities in IBM Cloud Pak for Business Automation
- Gentoo update for Go
- Multiple vulnerabilities in IBM Planning Analytics Workspace
- Multiple vulnerabilities in IBM Operational Decision Manager
- Splunk Enterprise update for third-party components
- Multiple vulnerabilities in IBM Robotic Process Automation for Cloud Pak
- Multiple vulnerabilities in IBM Watson Discovery
- Multiple vulnerabilities in IBM Db2 on Cloud Pak for Data and Db2 Warehouse on Cloud Pak for Data
- openEuler update for golang
- Multiple vulnerabilities in IBM Cloud Pak for Data Scheduling
- Multiple vulnerabilities in Red Hat Ceph Storage 5
- Multiple vulnerabilities in Dell ObjectScale
- Ubuntu update for golang-1.18
- Ubuntu update for golang-1.17
- Amazon Linux AMI update for golang
- Anolis OS update for go-toolset:an8 module
- Dell Data Lakehouse update for third-party components