ADVISORIES

openSUSE Security Update

openSUSE-SU-2026:21447-1

Security update for go1.26-openssl, go1.25-openssl, go1.24-openssl, go1.23-openssl, go1.22-openssl, go1.26, go1.25, go1.24, go1.23, go1.22, go1.21

Details

This update for go1.26-openssl, go1.25-openssl, go1.24-openssl, go1.23-openssl, go1.22-openssl, go1.26, go1.25, go1.24, go1.23, go1.22, go1.21 fixes the following issues:

Changes in go compilers:

  • Switch from update-alternatives to new method.
  • Packaging improvements:
  • Revert %ghost /usr/bin/go /usr/bin/gofmt which prevents install

of a working go command. Refs boo#1245878 bsc#1264395

  • Based on feedback from Factory maintainers restore the original

lifecycle for these files: Each go1.x toolchain shares ownership of a go and gofmt symlink managed by the alternatives system (update-alternatives and libalternatives). When the last go1.x package is uninstalled the symlinks will be removed.

  • Context: %ghost was introduced to prevent file conflicts among

go1.x toolchain packages reported by installcheck dev tool. %ghost prevents the files from being installed, which results in no installed go command. The shared ownership of the go and gofmt symlinks is intentional.

  • Define go_bootstrap_version with digits without go1.x prefix.

Correct path spelling to align with current toolchain layout GOROOT_BOOTSTRAP=%{_libdir}/go/%{go_bootstrap_version}, Noting interstitial /go/ in path. Fixes bootstrap ERROR: Cannot find /usr/lib64/go1.x/bin/go. Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.x.y. Bootstrap error first observed when using %ghost /usr/bin/go. Fixed by Eugenio Paolantonio. Refs boo#1245878 bsc#1264395

  • Mark %ghost /usr/bin/go /usr/bin/gofmt to avoid file conflicts

among go1.x toolchain packages. These files are managed by the alternatives system. Refs boo#1245878 bsc#1264395

Affected packages

EcosystemPackageAffected versions
openSUSE:Leap 16.0go1.21
All versions before 1.21.13-160000.3.1 (fixed in 1.21.13-160000.3.1)
openSUSE:Leap 16.0go1.22
All versions before 1.22.12-160000.4.1 (fixed in 1.22.12-160000.4.1)
openSUSE:Leap 16.0go1.22-openssl
All versions before 1.22.12-160000.4.1 (fixed in 1.22.12-160000.4.1)
openSUSE:Leap 16.0go1.23
All versions before 1.23.12-160000.3.1 (fixed in 1.23.12-160000.3.1)
openSUSE:Leap 16.0go1.23-openssl
All versions before 1.23.12-160000.3.1 (fixed in 1.23.12-160000.3.1)
openSUSE:Leap 16.0go1.24
All versions before 1.24.13-160000.3.1 (fixed in 1.24.13-160000.3.1)
openSUSE:Leap 16.0go1.24-openssl
All versions before 1.24.13-160000.3.1 (fixed in 1.24.13-160000.3.1)
openSUSE:Leap 16.0go1.25
All versions before 1.25.12-160000.2.1 (fixed in 1.25.12-160000.2.1)
openSUSE:Leap 16.0go1.25-openssl
All versions before 1.25.12-160000.2.1 (fixed in 1.25.12-160000.2.1)
openSUSE:Leap 16.0go1.26
All versions before 1.26.5-160000.2.1 (fixed in 1.26.5-160000.2.1)
openSUSE:Leap 16.0go1.26-openssl
All versions before 1.26.5-160000.2.1 (fixed in 1.26.5-160000.2.1)

References