RedHat: RHSA-2023-3920:01 Critical: go-toolset-1.19 and
Summary
Go Toolset provides the Go programming language tools and libraries. Go is
alternatively known as golang.
Security Fix(es):
* golang: cmd/go: go command may generate unexpected code at build time
when using cgo (CVE-2023-29402)
* golang: cmd/go: go command may execute arbitrary code at build time when
using cgo (CVE-2023-29404)
* golang: cmd/cgo: Arbitratry code execution triggered by linker flags
(CVE-2023-29405)
* golang: runtime: unexpected behavior of setuid/setgid binaries
(CVE-2023-29403)
For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.
Summary
Solution
For details on how to apply this update, which includes the changes
described in this advisory, refer to:
https://access.redhat.com/articles/11258
References
https://access.redhat.com/security/cve/CVE-2023-29402 https://access.redhat.com/security/cve/CVE-2023-29403 https://access.redhat.com/security/cve/CVE-2023-29404 https://access.redhat.com/security/cve/CVE-2023-29405 https://access.redhat.com/security/updates/classification/#critical
Package List
Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7):
Source:
go-toolset-1.19-1.19.10-1.el7_9.src.rpm
go-toolset-1.19-golang-1.19.10-1.el7_9.src.rpm
noarch:
go-toolset-1.19-golang-docs-1.19.10-1.el7_9.noarch.rpm
ppc64le:
go-toolset-1.19-1.19.10-1.el7_9.ppc64le.rpm
go-toolset-1.19-build-1.19.10-1.el7_9.ppc64le.rpm
go-toolset-1.19-golang-1.19.10-1.el7_9.ppc64le.rpm
go-toolset-1.19-golang-bin-1.19.10-1.el7_9.ppc64le.rpm
go-toolset-1.19-golang-misc-1.19.10-1.el7_9.ppc64le.rpm
go-toolset-1.19-golang-src-1.19.10-1.el7_9.ppc64le.rpm
go-toolset-1.19-golang-tests-1.19.10-1.el7_9.ppc64le.rpm
go-toolset-1.19-runtime-1.19.10-1.el7_9.ppc64le.rpm
go-toolset-1.19-scldevel-1.19.10-1.el7_9.ppc64le.rpm
s390x:
go-toolset-1.19-1.19.10-1.el7_9.s390x.rpm
go-toolset-1.19-build-1.19.10-1.el7_9.s390x.rpm
go-toolset-1.19-golang-1.19.10-1.el7_9.s390x.rpm
go-toolset-1.19-golang-bin-1.19.10-1.el7_9.s390x.rpm
go-toolset-1.19-golang-misc-1.19.10-1.el7_9.s390x.rpm
go-toolset-1.19-golang-src-1.19.10-1.el7_9.s390x.rpm
go-toolset-1.19-golang-tests-1.19.10-1.el7_9.s390x.rpm
go-toolset-1.19-runtime-1.19.10-1.el7_9.s390x.rpm
go-toolset-1.19-scldevel-1.19.10-1.el7_9.s390x.rpm
x86_64:
go-toolset-1.19-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-build-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-golang-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-golang-bin-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-golang-misc-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-golang-race-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-golang-src-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-golang-tests-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-runtime-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-scldevel-1.19.10-1.el7_9.x86_64.rpm
Red Hat Developer Tools for Red Hat Enterprise Linux Workstation (v. 7):
Source:
go-toolset-1.19-1.19.10-1.el7_9.src.rpm
go-toolset-1.19-golang-1.19.10-1.el7_9.src.rpm
noarch:
go-toolset-1.19-golang-docs-1.19.10-1.el7_9.noarch.rpm
x86_64:
go-toolset-1.19-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-build-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-golang-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-golang-bin-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-golang-misc-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-golang-race-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-golang-src-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-golang-tests-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-runtime-1.19.10-1.el7_9.x86_64.rpm
go-toolset-1.19-scldevel-1.19.10-1.el7_9.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/
Topic
An update for go-toolset-1.19 and go-toolset-1.19-golang is now availablefor Red Hat Developer Tools.Red Hat Product Security has rated this update as having a security impactof Critical. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.
Topic
Relevant Releases Architectures
Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7) - noarch, ppc64le, s390x, x86_64
Red Hat Developer Tools for Red Hat Enterprise Linux Workstation (v. 7) - noarch, x86_64
Bugs Fixed
2216965 - CVE-2023-29403 golang: runtime: unexpected behavior of setuid/setgid binaries
2217562 - CVE-2023-29402 golang: cmd/go: go command may generate unexpected code at build time when using cgo
2217565 - CVE-2023-29404 golang: cmd/go: go command may execute arbitrary code at build time when using cgo
2217569 - CVE-2023-29405 golang: cmd/cgo: Arbitratry code execution triggered by linker flags