Untrusted search path in Go programming language - CVE-2024-24787
Published: May 9, 2024
Vulnerability details
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to usage of an untrusted search path in md/go. A remote attacker can trick the victim to build a Go module which contains CGO to trigger arbitrary code execution when using the Apple version of ld, due to usage of the -lto_library flag in a "#cgo LDFLAGS" directive.
Affected software
Oracle Solaris
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 15 SP4 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
Development Tools Module
openSUSE Leap
Consul
Traefik
IBM Watson Discovery for IBM Cloud Pak for Data
go1.21-doc
go1.21
go1.21-race
go1.21-openssl-race
go1.21-openssl-doc
go1.21-openssl
go1.22
go1.22-doc
go1.22-race
go1.22-openssl-debuginfo
go1.22-openssl-race
go1.22-openssl-doc
go1.22-openssl
Storage Copy Data Management
Storage Protect Server
Storage Protect Plus Server
How to mitigate CVE-2024-24787
Oracle Solaris - update to 11.4 SRU 71
Consul - update to 1.18.2
Traefik - addressed in versions 2.11.3, 3.0.1
go1.21-doc - addressed in versions 1.21.10-1.33.1, 1.21.10-150000.1.33.1
go1.21 - addressed in versions 1.21.10-1.33.1, 1.21.10-150000.1.33.1
go1.21-race - update to 1.21.10-150000.1.33.1
go1.21-openssl-race - update to 1.21.13.1-150600.16.3.1
go1.21-openssl-doc - update to 1.21.13.1-150600.16.3.1
go1.21-openssl - update to 1.21.13.1-150600.16.3.1
go1.22 - addressed in versions 1.22.3-1.9.1, 1.22.3-150000.1.15.1
go1.22-doc - addressed in versions 1.22.3-1.9.1, 1.22.3-150000.1.15.1
go1.22-race - update to 1.22.3-150000.1.15.1
go1.22-openssl-debuginfo - addressed in versions 1.22.7.1-150000.1.3.1, 1.22.7.1-150600.13.3.1
go1.22-openssl-race - addressed in versions 1.22.7.1-150000.1.3.1, 1.22.7.1-150600.13.3.1
go1.22-openssl-doc - addressed in versions 1.22.7.1-150000.1.3.1, 1.22.7.1-150600.13.3.1
go1.22-openssl - addressed in versions 1.22.7.1-150000.1.3.1, 1.22.7.1-150600.13.3.1
Storage Copy Data Management - update to 2.2.24.0
IBM Watson Discovery for IBM Cloud Pak for Data - addressed in versions 4.8.7, 5.0.1
Storage Protect Server - update to 8.1.24
Storage Protect Plus Server - update to 10.1.16.2
External References
Related Security Bulletins
- Multiple vulnerabilities in Go programming language
- SUSE update for go1.22
- SUSE update for go1.21
- SUSE update for go1.22
- SUSE update for go1.21
- Multiple vulnerabilities in HashiCorp Consul
- Multiple vulnerabilities in IBM Storage Copy Data Management
- Multiple vulnerabilities in Storage Protect Plus Server
- Oracle Solaris update for thrid-party components
- Multiple vulnerabilities in IBM Storage Protect Server
- SUSE update for go1.21-openssl
- SUSE update for go1.22-openssl
- Multiple vulnerabilities in IBM Watson Discovery
- SUSE update for go1.22-openssl
- Traefik update for Go