Summary
This update for go1.21 fixes the following issues:
Update to go1.21.1 (bsc#1212475).
- CVE-2023-39318: Fixed improper handling of HTML-like comments within script contexts in html/template (bsc#1215084).
- CVE-2023-39319: Fixed improper handling of special tags within script contexts in html/template (bsc#1215085).
- CVE-2023-39320: Fixed arbitrary execution in go.mod toolchain directive (bsc#1215086).
- CVE-2023-39321, CVE-2023-39322: Fixed a panic when processing post-handshake message on QUIC connections in crypto/tls (bsc#1215087).
The following non-security bug was fixed:
- Add missing directory pprof html asset directory to package (bsc#1215090).
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.4 | go1.21 | 1.21.1-150000.1.6.1 |
| openSUSE · Leap 15.5 | go1.21 | 1.21.1-150000.1.6.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Development Tools 15 SP4 | go1.21 | 1.21.1-150000.1.6.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Development Tools 15 SP5 | go1.21 | 1.21.1-150000.1.6.1 |
Vulnerabilities 5
-
Unscored —
Improper handling of HTML-like comments in script contexts in html/template
The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be imprope…
-
Unscored —
Improper handling of special tags within script contexts in html/template
The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, …
-
Unscored —CVE-2023-39320 Public exploit
Arbitrary code execution via go.mod toolchain directive in cmd/go
The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the "go" command was executed within the module. This applies to modules downloaded using the "go" command from the…
-
Unscored —
Panic when processing post-handshake message on QUIC connections in crypto/tls
Processing an incomplete post-handshake message for a QUIC connection can cause a panic.
-
Unscored —
Memory exhaustion in QUIC connection handling in crypto/tls
QUIC connections do not set an upper bound on the amount of data buffered when reading post-handshake messages, allowing a malicious QUIC connection to cause unbounded memory growth. With fix, connections now consistently reject messages larger than 65KiB in …
References
-
report
https://bugzilla.suse.com/1212475
-
report
https://bugzilla.suse.com/1215084
-
report
https://bugzilla.suse.com/1215085
-
report
https://bugzilla.suse.com/1215086
-
report
https://bugzilla.suse.com/1215087
-
report
https://bugzilla.suse.com/1215090
-
web
https://www.suse.com/security/cve/CVE-2023-39318
-
web
https://www.suse.com/security/cve/CVE-2023-39319
-
web
https://www.suse.com/security/cve/CVE-2023-39320
-
web
https://www.suse.com/security/cve/CVE-2023-39321
-
web
https://www.suse.com/security/cve/CVE-2023-39322