AlmaLinux Security Advisory
ALSA-2022:5799
Important: go-toolset and golang security and bug fix update
Details
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)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| AlmaLinux:9 | golang | All versions before 1.17.12-1.el9_0 (fixed in 1.17.12-1.el9_0) |
| AlmaLinux:9 | golang-bin | All versions before 1.17.12-1.el9_0 (fixed in 1.17.12-1.el9_0) |
| AlmaLinux:9 | golang-docs | All versions before 1.17.12-1.el9_0 (fixed in 1.17.12-1.el9_0) |
| AlmaLinux:9 | golang-misc | All versions before 1.17.12-1.el9_0 (fixed in 1.17.12-1.el9_0) |
| AlmaLinux:9 | golang-race | All versions before 1.17.12-1.el9_0 (fixed in 1.17.12-1.el9_0) |
| AlmaLinux:9 | golang-src | All versions before 1.17.12-1.el9_0 (fixed in 1.17.12-1.el9_0) |
| AlmaLinux:9 | golang-tests | All versions before 1.17.12-1.el9_0 (fixed in 1.17.12-1.el9_0) |
References
- https://access.redhat.com/errata/RHSA-2022:5799
- 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://bugzilla.redhat.com/2107342
- https://bugzilla.redhat.com/2107371
- https://bugzilla.redhat.com/2107374
- https://bugzilla.redhat.com/2107376
- https://bugzilla.redhat.com/2107383
- https://bugzilla.redhat.com/2107386
- https://bugzilla.redhat.com/2107388
- https://bugzilla.redhat.com/2107390
- https://bugzilla.redhat.com/2107392
- https://errata.almalinux.org/9/ALSA-2022-5799.html