Arbitrary Code Injection The advisory has been revoked - it doesn't affect any version of package go-toolset  (opens in a new tab)


Threat Intelligence

EPSS
1.69% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-GOTOOLSET-9667654
  • published7 Apr 2025
  • disclosed8 Jun 2023

Introduced: 8 Jun 2023

CVE-2023-29402  (opens in a new tab)
CWE-94  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:9.

NVD Description

Note: Versions mentioned in the description apply only to the upstream go-toolset package and not the go-toolset package as distributed by RHEL.

The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via "go get", are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected).