Home / mailings [RHSA-2022:5799-01] Important: go-toolset and golang security and bug fix update
Posted on 03 August 2022
RedHat===================================================================== Red Hat Security Advisory
Synopsis: Important: go-toolset and golang security and bug fix update
Advisory ID: RHSA-2022:5799-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2022:5799
Issue date: 2022-08-01
CVE Names: CVE-2022-1705 CVE-2022-1962 CVE-2022-28131
CVE-2022-30630 CVE-2022-30631 CVE-2022-30632
CVE-2022-30633 CVE-2022-30635 CVE-2022-32148
=====================================================================
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 Important. 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: compress/gzip: stack exhaustion in Reader.Read (CVE-2022-30631)
* golang: net/http: improper sanitization of Transfer-Encoding header
(CVE-2022-1705)
* golang: go/parser: stack exhaustion in all Parse* functions
(CVE-2022-1962)
* golang: encoding/xml: stack exhaustion in Decoder.Skip (CVE-2022-28131)
* golang: io/fs: stack exhaustion in Glob (CVE-2022-30630)
* golang: path/filepath: stack exhaustion in Glob (CVE-2022-30632)
* golang: encoding/xml: stack exhaustion in Unmarshal (CVE-2022-30633)
* golang: encoding/gob: stack exhaustion in Decoder.Decode (CVE-2022-30635)
* golang: net/http/httputil: NewSingleHostReverseProxy - omit
X-Forwarded-For not working (CVE-2022-32148)
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.
Bug Fix(es):
* Clean up dist-git patches (BZ#2109174)
* Update Go to version 1.17.12 (BZ#2109183)
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/):
2107342 - CVE-2022-30631 golang: compress/gzip: stack exhaustion in Reader.Read
2107371 - CVE-2022-30630 golang: io/fs: stack exhaustion in Glob
2107374 - CVE-2022-1705 golang: net/http: improper sanitization of Transfer-Encoding header
2107376 - CVE-2022-1962 golang: go/parser: stack exhaustion in all Parse* functions
2107383 - CVE-2022-32148 golang: net/http/httputil: NewSingleHostReverseProxy - omit X-Forwarded-For not working
2107386 - CVE-2022-30632 golang: path/filepath: stack exhaustion in Glob
2107388 - CVE-2022-30635 golang: encoding/gob: stack exhaustion in Decoder.Decode
2107390 - CVE-2022-28131 golang: encoding/xml: stack exhaustion in Decoder.Skip
2107392 - CVE-2022-30633 golang: encoding/xml: stack exhaustion in Unmarshal
6. Package List:
Red Hat Enterprise Linux AppStream (v. 9):
Source:
go-toolset-1.17.12-1.el9_0.src.rpm
golang-1.17.12-1.el9_0.src.rpm
aarch64:
go-toolset-1.17.12-1.el9_0.aarch64.rpm
golang-1.17.12-1.el9_0.aarch64.rpm
golang-bin-1.17.12-1.el9_0.aarch64.rpm
noarch:
golang-docs-1.17.12-1.el9_0.noarch.rpm
golang-misc-1.17.12-1.el9_0.noarch.rpm
golang-src-1.17.12-1.el9_0.noarch.rpm
golang-tests-1.17.12-1.el9_0.noarch.rpm
ppc64le:
go-toolset-1.17.12-1.el9_0.ppc64le.rpm
golang-1.17.12-1.el9_0.ppc64le.rpm
golang-bin-1.17.12-1.el9_0.ppc64le.rpm
s390x:
go-toolset-1.17.12-1.el9_0.s390x.rpm
golang-1.17.12-1.el9_0.s390x.rpm
golang-bin-1.17.12-1.el9_0.s390x.rpm
x86_64:
go-toolset-1.17.12-1.el9_0.x86_64.rpm
golang-1.17.12-1.el9_0.x86_64.rpm
golang-bin-1.17.12-1.el9_0.x86_64.rpm
golang-race-1.17.12-1.el9_0.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-2022-1705
https://access.redhat.com/security/cve/CVE-2022-1962
https://access.redhat.com/security/cve/CVE-2022-28131
https://access.redhat.com/security/cve/CVE-2022-30630
https://access.redhat.com/security/cve/CVE-2022-30631
https://access.redhat.com/security/cve/CVE-2022-30632
https://access.redhat.com/security/cve/CVE-2022-30633
https://access.redhat.com/security/cve/CVE-2022-30635
https://access.redhat.com/security/cve/CVE-2022-32148
https://access.redhat.com/security/updates/classification/#important
8. Contact:
The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/
Copyright 2022 Red Hat, Inc.