Summary
Go Toolset provides the Go programming language tools and libraries. Go is alternatively known as golang.
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#2110942)
* Update Go to version 1.17.12 (BZ#2110943)
Fixed packages 9
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 8 | delve | 1.7.2-1.module_el8.6.0+2736+ec10aba8 |
| AlmaLinux · 8 | go-toolset | 1.17.12-1.module_el8.6.0+3065+e17ed2d4 |
| AlmaLinux · 8 | golang | 1.17.12-1.module_el8.6.0+3065+e17ed2d4 |
| AlmaLinux · 8 | golang-bin | 1.17.12-1.module_el8.6.0+3065+e17ed2d4 |
| AlmaLinux · 8 | golang-docs | 1.17.12-1.module_el8.6.0+3065+e17ed2d4 |
| AlmaLinux · 8 | golang-misc | 1.17.12-1.module_el8.6.0+3065+e17ed2d4 |
| AlmaLinux · 8 | golang-race | 1.17.12-1.module_el8.6.0+3065+e17ed2d4 |
| AlmaLinux · 8 | golang-src | 1.17.12-1.module_el8.6.0+3065+e17ed2d4 |
| AlmaLinux · 8 | golang-tests | 1.17.12-1.module_el8.6.0+3065+e17ed2d4 |
Vulnerabilities 9
-
High 7.5
Stack exhaustion in Glob on certain paths in io/fs
Uncontrolled recursion in Glob in io/fs before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path which contains a large number of path separators.
-
High 7.5
Stack exhaustion when reading certain archives in compress/gzip
Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via an archive containing a large number of concatenated 0-length compressed files.
-
High 7.5
Stack exhaustion when unmarshaling certain documents in encoding/xml
Uncontrolled recursion in Unmarshal in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via unmarshalling an XML document into a Go struct which has a nested field that uses the 'any' field tag.
-
High 7.5
Stack exhaustion when decoding certain messages in encoding/gob
Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a message which contains deeply nested structures.
-
Medium 6.5
Improper sanitization of Transfer-Encoding headers in net/http
Acceptance of some invalid Transfer-Encoding headers in the HTTP/1 client in net/http before Go 1.17.12 and Go 1.18.4 allows HTTP request smuggling if combined with an intermediate server that also improperly fails to reject the header as invalid.
-
Medium 6.5
Exposure of client IP addresses in net/http
Improper exposure of client IP addresses in net/http before Go 1.17.12 and Go 1.18.4 can be triggered by calling httputil.ReverseProxy.ServeHTTP with a Request.Header map containing a nil value for the X-Forwarded-For header, which causes ReverseProxy to set …
-
Medium 5.5
Stack exhaustion due to deeply nested types in go/parser
Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.
-
Unscored —
Stack exhaustion from deeply nested XML documents in encoding/xml
Uncontrolled recursion in Decoder.Skip in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a deeply nested XML document.
-
Unscored —
Stack exhaustion on crafted paths in path/filepath
Uncontrolled recursion in Glob in path/filepath before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path containing a large number of path separators.
References
-
report
https://access.redhat.com/security/cve/CVE-2022-1705
-
report
https://access.redhat.com/security/cve/CVE-2022-1962
-
report
https://access.redhat.com/security/cve/CVE-2022-28131
-
report
https://access.redhat.com/security/cve/CVE-2022-30630
-
report
https://access.redhat.com/security/cve/CVE-2022-30631
-
report
https://access.redhat.com/security/cve/CVE-2022-30632
-
report
https://access.redhat.com/security/cve/CVE-2022-30633
-
report
https://access.redhat.com/security/cve/CVE-2022-30635
-
report
https://access.redhat.com/security/cve/CVE-2022-32148
-
report
https://bugzilla.redhat.com/2107342
-
report
https://bugzilla.redhat.com/2107371
-
report
https://bugzilla.redhat.com/2107374
-
report
https://bugzilla.redhat.com/2107376
-
report
https://bugzilla.redhat.com/2107383
-
report
https://bugzilla.redhat.com/2107386
-
report
https://bugzilla.redhat.com/2107388
-
report
https://bugzilla.redhat.com/2107390
-
report
https://bugzilla.redhat.com/2107392
-
advisory
https://errata.almalinux.org/8/ALSA-2022-5775.html