SUSE Security Update
SUSE-SU-2023:2312-1
Security update for go1.18-openssl
Details
This update for go1.18-openssl fixes the following issues:
- Add subpackage go1.x-libstd compiled shared object libstd.so (jsc#PED-1962)
- Main go1.x package included libstd.so in previous versions
- Split libstd.so into subpackage that can be installed standalone
- Continues the slimming down of main go1.x package by 40 Mb
- Experimental and not recommended for general use, Go currently has no ABI
- Upstream Go has not committed to support buildmode=shared long-term
- Do not use in packaging, build static single binaries (the default)
- Upstream Go go1.x binary releases do not include libstd.so
- go1.x Suggests go1.x-libstd so not installed by default Recommends
- go1.x-libstd does not Require: go1.x so can install standalone
- Provides go-libstd unversioned package name
- Fix build step -buildmode=shared std to omit -linkshared
- Packaging improvements:
- go1.x Suggests go1.x-doc so not installed by default Recommends
- Use Group: Development/Languages/Go instead of Other
- Improvements to go1.x packaging spec:
- On Tumbleweed bootstrap with current default gcc13 and gccgo118
- On SLE-12 aarch64 ppc64le ppc64 remove overrides to bootstrap
using go1.x package (%bcond_without gccgo). This is no longer needed on current SLE-12:Update and removing will consolidate the build configurations used.
- Change source URLs to go.dev as per Go upstream
- On x86_64 export GOAMD64=v1 as per the current baseline.
At this time forgo GOAMD64=v3 option for x86_64_v3 support.
- On x86_64 %define go_amd64=v1 as current instruction baseline
- Update to version 1.18.10.1 cut from the go1.18-openssl-fips
branch at the revision tagged go1.18.10-1-openssl-fips.
- Merge branch dev.boringcrypto.go1.18 into go1.18-openssl-fips
- Merge go1.18.10 into dev.boringcrypto.go1.18
- go1.18.10 (released 2023-01-10) includes fixes to cgo, the
compiler, the linker, and the crypto/x509, net/http, and syscall packages. Refs bsc#1193742 go1.18 release tracking
- go#57705 misc/cgo: backport needed for dlltool fix
- go#57426 crypto/x509: Verify on macOS does not return typed errors
- go#57344 cmd/compile: the loong64 intrinsic for CompareAndSwapUint32 function needs to sign extend its 'old' argument.
- go#57338 syscall, internal/poll: accept4-to-accept fallback removal broke Go code on Synology DSM 6.2 ARM devices
- go#57213 os: TestLstat failure on Linux Aarch64
- go#57211 reflect: sort.SliceStable sorts incorrectly on arm64 with less function created with reflect.MakeFunc and slice of sufficient length
- go#57057 cmd/go: remove test dependency on gopkg.in service
- go#57054 cmd/go: TestScript/version_buildvcs_git_gpg (if enabled) fails on linux longtest builders
- go#57044 cgo: malformed DWARF TagVariable entry
- go#57028 cmd/cgo: Wrong types in compiler errors with clang 14
- go#56833 cmd/link/internal/ppc64: too-far trampoline is reused
- go#56711 net: reenable TestLookupDotsWithRemoteSource and TestLookupGoogleSRV with a different target
- go#56323 net/http: bad handling of HEAD requests with a body
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| SUSE:Linux Enterprise Module for Development Tools 15 SP4 | go1.18-openssl | All versions before 1.18.10.1-150000.1.9.1 (fixed in 1.18.10.1-150000.1.9.1) |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | go1.18-openssl | All versions before 1.18.10.1-150000.1.9.1 (fixed in 1.18.10.1-150000.1.9.1) |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | go1.18-openssl | All versions before 1.18.10.1-150000.1.9.1 (fixed in 1.18.10.1-150000.1.9.1) |
| SUSE:Linux Enterprise Real Time 15 SP3 | go1.18-openssl | All versions before 1.18.10.1-150000.1.9.1 (fixed in 1.18.10.1-150000.1.9.1) |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | go1.18-openssl | All versions before 1.18.10.1-150000.1.9.1 (fixed in 1.18.10.1-150000.1.9.1) |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | go1.18-openssl | All versions before 1.18.10.1-150000.1.9.1 (fixed in 1.18.10.1-150000.1.9.1) |
| SUSE:Enterprise Storage 7.1 | go1.18-openssl | All versions before 1.18.10.1-150000.1.9.1 (fixed in 1.18.10.1-150000.1.9.1) |
| openSUSE:Leap 15.4 | go1.18-openssl | All versions before 1.18.10.1-150000.1.9.1 (fixed in 1.18.10.1-150000.1.9.1) |
| openSUSE:Leap 15.5 | go1.18-openssl | All versions before 1.18.10.1-150000.1.9.1 (fixed in 1.18.10.1-150000.1.9.1) |
References
- https://www.suse.com/support/update/announcement/2023/suse-su-20232312-1/
- https://bugzilla.suse.com/1183043
- https://bugzilla.suse.com/1193742
- https://bugzilla.suse.com/1198423
- https://bugzilla.suse.com/1198424
- https://bugzilla.suse.com/1198427
- https://bugzilla.suse.com/1199413
- https://bugzilla.suse.com/1200134
- https://bugzilla.suse.com/1200135
- https://bugzilla.suse.com/1200136
- https://bugzilla.suse.com/1200137
- https://bugzilla.suse.com/1201434
- https://bugzilla.suse.com/1201436
- https://bugzilla.suse.com/1201437
- https://bugzilla.suse.com/1201440
- https://bugzilla.suse.com/1201443
- https://bugzilla.suse.com/1201444
- https://bugzilla.suse.com/1201445
- https://bugzilla.suse.com/1201447
- https://bugzilla.suse.com/1201448
- https://bugzilla.suse.com/1202035
- https://bugzilla.suse.com/1203185
- https://bugzilla.suse.com/1204023
- https://bugzilla.suse.com/1204024
- https://bugzilla.suse.com/1204025
- https://bugzilla.suse.com/1204941
- https://bugzilla.suse.com/1206134
- https://bugzilla.suse.com/1206135
- https://bugzilla.suse.com/1208270
- https://bugzilla.suse.com/1208271
- https://bugzilla.suse.com/1208272
- https://bugzilla.suse.com/1208491
- https://www.suse.com/security/cve/CVE-2022-1705
- https://www.suse.com/security/cve/CVE-2022-1962
- https://www.suse.com/security/cve/CVE-2022-24675
- https://www.suse.com/security/cve/CVE-2022-27536
- https://www.suse.com/security/cve/CVE-2022-27664
- https://www.suse.com/security/cve/CVE-2022-28131
- https://www.suse.com/security/cve/CVE-2022-28327
- https://www.suse.com/security/cve/CVE-2022-2879