Critical Vulnerability in go-toolset and golang

go-toolset Updated 02 Oct 2025

Summary

29/06/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:3923: Critical: go-toolset and golang security update. Affects go-toolset versions < 1.19.10-1.el9_2. Fixed in 1.19.10-1.el9_2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Go Toolset (also known as golang) provides the Go programming language tools and libraries. The golang packages offer the Go programming language compiler. This vulnerability affects the go-toolset and golang packages in AlmaLinux 9.

Vulnerability Detail

The vulnerability consists of multiple security issues:

  1. CVE-2023-29402: The go command in golang may generate unexpected code at build time when using cgo.
  2. CVE-2023-29404: The go command in golang may execute arbitrary code at build time when using cgo.
  3. CVE-2023-29405: The cmd/cgo package in golang is susceptible to arbitrary code execution triggered by linker flags.
  4. CVE-2023-29403: The runtime package in golang exhibits unexpected behavior in setuid/setgid binaries.

These vulnerabilities can lead to code generation issues, arbitrary code execution, and unexpected behavior in certain binaries.

How To Fix

Minimum fixed version

1.19.10-1.el9_2

This is the first release that contains the fix.

sudo dnf update go-toolset

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no known workarounds for these vulnerabilities. It is crucial to update the affected packages to the fixed versions.

Conclusion

It is crucial to update the go-toolset and golang packages to address these critical vulnerabilities. Failure to do so may result in unexpected code generation, arbitrary code execution, and unexpected behavior in setuid/setgid binaries. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for go-toolset →

Share this vulnerability

FAQ

Go Toolset, also known as golang, provides tools and libraries for the Go programming language.

These vulnerabilities can result in unexpected code generation, arbitrary code execution, and unexpected behavior in setuid/setgid binaries.

To fix these vulnerabilities, update the go-toolset and golang packages to version 1.19.10-1.el9_2 or later.

No, there are no known workarounds for these vulnerabilities.

You can find more information about these vulnerabilities in the CVE pages listed in the References section.

Related vulnerabilities

Recent vulnerabilities recorded for go-toolset.

How To Fix

Minimum fixed version

1.19.10-1.el9_2

This is the first release that contains the fix.

sudo dnf update go-toolset

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback