Skip to content
OpenAdvisories
High 1 exploited CVE openSUSE-SU-2023:0360-1 8 CVEs

Security update for go1.21

Published Nov 9, 2023 · Updated Feb 4, 2026

Summary

This update introduces go1.21, including fixes for the following issues:

- go1.21.3 (released 2023-10-10) includes a security fix to the
net/http package.
Refs boo#1212475 go1.21 release tracking
CVE-2023-39325 CVE-2023-44487
* go#63427 go#63417 boo#1216109 security: fix CVE-2023-39325 CVE-2023-44487 net/http: rapid stream resets can cause excessive work

- go1.21.2 (released 2023-10-05) includes one security fixes to the
cmd/go package, as well as bug fixes to the compiler, the go
command, the linker, the runtime, and the runtime/metrics
package.
Refs boo#1212475 go1.21 release tracking
CVE-2023-39323
* go#63214 go#63211 boo#1215985 security: fix CVE-2023-39323 cmd/go: line directives allows arbitrary execution during build
* go#62464 runtime: 'traceback did not unwind completely'
* go#62478 runtime/metrics: /gc/scan* metrics return zero
* go#62505 plugin: variable not initialized properly
* go#62506 cmd/compile: internal compiler error: InvertFlags should never make it to codegen v100 = InvertFlags v123
* go#62509 runtime: scheduler change causes Delve's function call injection to fail intermittently
* go#62537 runtime: 'fatal: morestack on g0' with PGO enabled on arm64
* go#62598 cmd/link: issues with Apple's new linker in Xcode 15 beta
* go#62668 cmd/compile: slow to compile 17,000 line switch statement?
* go#62711 cmd/go: TestScript/gotoolchain_path fails if golang.org/dl/go1.21.1 is installed in the user's $PATH

- go1.21.1 (released 2023-09-06) includes four security fixes to
the cmd/go, crypto/tls, and html/template packages, as well as
bug fixes to the compiler, the go command, the linker, the
runtime, and the context, crypto/tls, encoding/gob, encoding/xml,
go/types, net/http, os, and path/filepath packages.
Refs boo#1212475 go1.21 release tracking
CVE-2023-39318 CVE-2023-39319 CVE-2023-39320 CVE-2023-39321 CVE-2023-39322
* go#62290 go#62266 boo#1215087 security: fix CVE-2023-39321 CVE-2023-39322 crypto/tls: panic when processing partial post-handshake message in QUICConn.HandleData
* go#62394 go#62198 boo#1215086 security: fix CVE-2023-39320 cmd/go: go.mod toolchain directive allows arbitrary execution
* go#62396 go#62196 boo#1215084 security: fix CVE-2023-39318 html/template: improper handling of HTML-like comments within script contexts
* go#62398 go#62197 boo#1215085 security: fix CVE-2023-39319 html/template: improper handling of special tags within script contexts
* go#61743 go/types: interface.Complete panics for interfaces with duplicate methods
* go#61781 cmd/compile: internal compiler error: 'f': value .autotmp_1 (nil) incorrectly live at entry
* go#61818 cmd/go: panic: runtime error: index out of range [-1] in collectDepsErrors
* go#61821 runtime/internal/wasitest: TestTCPEcho is racy
* go#61868 path/filepath: Clean on some invalid Windows paths can lose .. components
* go#61904 net/http: go 1.20.6 host validation breaks setting Host to a unix socket address
* go#61905 cmd/go: go get/mod tidy panics with internal error: net token acquired but not released
* go#61909 cmd/compile: internal compiler error: missed typecheck
* go#61910 os: ReadDir fails on file systems without File ID support on Windows
* go#61927 cmd/distpack: release archives don't include directory members
* go#61930 spec, go/types, types2: restore Go 1.20 unification when compiling for Go 1.20
* go#61932 go/types, types2: index out of range panic in Checker.arguments
* go#61958 cmd/compile: write barrier code is sometimes preemptible when compiled with -N
* go#61959 go/types, types2: panic: infinite recursion in unification with go1.21.0
* go#61964 os: ReadDir(\\.\pipe\) fails with go1.21 on Windows
* go#61967 crypto/tls: add GODEBUG to control max RSA key size
* go#61987 runtime: simple programs crash on linux/386 with go1.21 when build with -gcflags='all=-N -l'
* go#62019 runtime: execution halts with goroutines stuck in runtime.gopark (protocol error E08 during memory read for packet)
* go#62046 runtime/trace: segfault in runtime.fpTracebackPCs during deferred call after recovering from panic
* go#62051 encoding/xml: incompatible changes in the Go 1.21.0
* go#62057 cmd/compile: internal compiler error: 'F': func F, startMem[b1] has different values
* go#62071 cmd/api: make non-importable
* go#62140 cmd/link: slice bounds out of range
* go#62143 hash/crc32: panic on arm64 with go1.21.0 when indexing slice
* go#62144 cmd/go: locating GOROOT fails when the go command is run from the cross-compiled bin subdirectory
* go#62154 encoding/gob: panic decoding into local type, received remote type
* go#62189 context: misuse of sync.Cond in ExampleAfterFunc_cond
* go#62204 maps: segfault in Clone
* go#62205 cmd/compile: backward incompatible change in Go 1.21 type inference with channels
* go#62222 cmd/go: 'go test -o' may fail with ETXTBSY when running the compiled test
* go#62328 net/http: http client regression building with js/wasm and running on Chrome: net::ERR_H2_OR_QUIC_REQUIRED
* go#62329 runtime: MADV_HUGEPAGE causes stalls when allocating memory

- go1.21 (released 2023-08-08) is a major release of Go.
go1.21.x minor releases will be provided through August 2024.
https://github.com/golang/go/wiki/Go-Release-Cycle
go1.21 arrives six months after go1.20. Most of its changes are
in the implementation of the toolchain, runtime, and libraries.
As always, the release maintains the Go 1 promise of
compatibility. We expect almost all Go programs to continue to
compile and run as before.
Refs boo#1212475 go1.21 release tracking
* Go 1.21 introduces a small change to the numbering of
releases. In the past, we used Go 1.N to refer to both the
overall Go language version and release family as well as the
first release in that family. Starting in Go 1.21, the first
release is now Go 1.N.0. Today we are releasing both the Go
1.21 language and its initial

Fixed packages 2

ReleasePackageFixed in
SUSE · Package Hub 12 go 1.21-41.1
SUSE · Package Hub 12 go1.21 1.21.3-2.1

Vulnerabilities 8

References

  • report
    https://bugzilla.suse.com/1212475
  • report
    https://bugzilla.suse.com/1212667
  • report
    https://bugzilla.suse.com/1212669
  • 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
  • report
    https://bugzilla.suse.com/1215985
  • report
    https://bugzilla.suse.com/1216109
  • 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
  • web
    https://www.suse.com/security/cve/CVE-2023-39323
  • web
    https://www.suse.com/security/cve/CVE-2023-39325
  • web
    https://www.suse.com/security/cve/CVE-2023-44487