Summary
This update for go1.21 fixes the following issues:
- Upgrade go to version 1.21.8
- CVE-2023-45289: net/http, net/http/cookiejar: incorrect forwarding of sensitive headers and cookies on HTTP redirect (bsc#1221000)
- CVE-2023-45290: net/http: memory exhaustion in Request.ParseMultipartForm (bsc#1221001)
- CVE-2024-24783: crypto/x509: Verify panics on certificates with an unknown public key algorithm (bsc#1220999)
- CVE-2024-24784: net/mail: comments in display names are incorrectly handled (bsc#1221002)
- CVE-2024-24785: html/template: errors returned from MarshalJSON methods may break template escaping (bsc#1221003)
Fixed packages 6
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.5 | go1.21 | 1.21.8-150000.1.27.1 |
| SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS | go1.21 | 1.21.8-150000.1.27.1 |
| SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS | go1.21 | 1.21.8-150000.1.27.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Development Tools 15 SP5 | go1.21 | 1.21.8-150000.1.27.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS | go1.21 | 1.21.8-150000.1.27.1 |
| SUSE · SLES for SAP 15 SP4 Linux Enterprise Server for SAP Applications 15 SP4 | go1.21 | 1.21.8-150000.1.27.1 |
Vulnerabilities 5
-
High 7.5
Comments in display names are incorrectly handled in net/mail
The ParseAddressList function incorrectly handles comments (text within parentheses) within display names. Since this is a misalignment with conforming address parsers, it can result in different trust decisions being made by programs using different parsers.
-
Medium 6.5
Memory exhaustion in multipart form parsing in net/textproto and net/http
When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while readi…
-
Medium 5.9
Verify panics on certificates with an unknown public key algorithm in crypto/x509
Verifying a certificate chain which contains a certificate with an unknown public key algorithm will cause Certificate.Verify to panic. This affects all crypto/tls clients, and servers that set Config.ClientAuth to VerifyClientCertIfGiven or RequireAndVerifyC…
-
Medium 5.4
Errors returned from JSON marshaling may break template escaping in html/template
If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.
-
Medium 4.3
Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http
When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as "Authorization" or "Cookie". For example, a redirect from foo.com to www.foo.com will fo…
References
-
report
https://bugzilla.suse.com/1212475
-
report
https://bugzilla.suse.com/1219988
-
report
https://bugzilla.suse.com/1220999
-
report
https://bugzilla.suse.com/1221000
-
report
https://bugzilla.suse.com/1221001
-
report
https://bugzilla.suse.com/1221002
-
report
https://bugzilla.suse.com/1221003
-
web
https://www.suse.com/security/cve/CVE-2023-45289
-
web
https://www.suse.com/security/cve/CVE-2023-45290
-
web
https://www.suse.com/security/cve/CVE-2024-24783
-
web
https://www.suse.com/security/cve/CVE-2024-24784
-
web
https://www.suse.com/security/cve/CVE-2024-24785