[RHSA-2023:3923-01] Critical: go-toolset and golang security update

Security announcements for all Red Hat products and services. rhsa-announce at redhat.com
Thu Jun 29 15:50:55 UTC 2023


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Critical: go-toolset and golang security update
Advisory ID:       RHSA-2023:3923-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2023:3923
Issue date:        2023-06-29
CVE Names:         CVE-2023-29402 CVE-2023-29403 CVE-2023-29404 
                   CVE-2023-29405 
=====================================================================

1. Summary:

An update for go-toolset and golang is now available for Red Hat Enterprise
Linux 9.

Red Hat Product Security has rated this update as having a security impact
of Critical. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AppStream (v. 9) - aarch64, noarch, ppc64le, s390x, x86_64

3. Description:

Go Toolset provides the Go programming language tools and libraries. Go is
alternatively known as golang.

The golang packages provide the Go programming language compiler.

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.

4. 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

5. Bugs fixed (https://bugzilla.redhat.com/):

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

6. Package List:

Red Hat Enterprise Linux AppStream (v. 9):

Source:
go-toolset-1.19.10-1.el9_2.src.rpm
golang-1.19.10-1.el9_2.src.rpm

aarch64:
go-toolset-1.19.10-1.el9_2.aarch64.rpm
golang-1.19.10-1.el9_2.aarch64.rpm
golang-bin-1.19.10-1.el9_2.aarch64.rpm

noarch:
golang-docs-1.19.10-1.el9_2.noarch.rpm
golang-misc-1.19.10-1.el9_2.noarch.rpm
golang-src-1.19.10-1.el9_2.noarch.rpm
golang-tests-1.19.10-1.el9_2.noarch.rpm

ppc64le:
go-toolset-1.19.10-1.el9_2.ppc64le.rpm
golang-1.19.10-1.el9_2.ppc64le.rpm
golang-bin-1.19.10-1.el9_2.ppc64le.rpm

s390x:
go-toolset-1.19.10-1.el9_2.s390x.rpm
golang-1.19.10-1.el9_2.s390x.rpm
golang-bin-1.19.10-1.el9_2.s390x.rpm

x86_64:
go-toolset-1.19.10-1.el9_2.x86_64.rpm
golang-1.19.10-1.el9_2.x86_64.rpm
golang-bin-1.19.10-1.el9_2.x86_64.rpm
golang-race-1.19.10-1.el9_2.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/

7. 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

8. Contact:

The Red Hat security contact is <secalert at redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2023 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBZJ2oX9zjgjWX9erEAQjpEA/9G68C9PgRei6aV9G5WBzjKdxWtK+cgpMt
C1ELm2Fs7Ny9z3sJniiWZvCE+mn9/GQQdot2H8KpuopNa5QATMUDDlw/leYPaMMm
YXmxpiXh31dDvmwDbPG9CAYMTIr8QgOrFDfMnJomGUWvxMgQfQpsiDiD9mKT8kKL
EnWUTso7nX1d9ixkD6Og611QHP40VzSdCzmShrwtMaflfUj1WIlbzJ7rw3U8+g0P
jgb9VOYf1mzvoUfVE8Wg2XxdyhfTH+j40+5hKJ74K+4yVGBITin4XeTtITiZRWWn
o66ZbNfp64rfewiXDKLYJq8klgPR0prcvHXfbcD3Xa5yDybL7ry1hYfkB7OqgQ6e
3aeLOA2af9nMMIi6Ng2ZlVLCakoEBUNE0mwTUYi5suNUE3D8NkkxnlGHc6GcO0n+
eHiRNWaIuOwjYoli3tq0T69tW1eYsqcd3KOWobvY99d4fkJHbuCgDOpSbChqytVx
bWG6bCuj460HF9qu+SB/UE/HsUIdhIghasjaJBTONEpeSEb4OlvXo4eHBxeqVoWr
1QFi/krkgu6nwUgZLspvrNWGWZI1ey1Ocb36qbd+mLjmnTokFwXRGW66PnFhzox+
BCYEDxFaatrGiMnBq8obzkA5BYwq0jrBpCl5EVkD2OOOVnRR87Tf5C5oFWL2TvSI
gWlWuuqvGo4=
=C07u
-----END PGP SIGNATURE-----


More information about the RHSA-announce mailing list